[open-ils-commits] r9940 - branches/acq-experiment/Open-ILS/web/js/dojo/openils

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Jun 26 15:35:47 EDT 2008


Author: erickson
Date: 2008-06-26 15:35:44 -0400 (Thu, 26 Jun 2008)
New Revision: 9940

Modified:
   branches/acq-experiment/Open-ILS/web/js/dojo/openils/editors.js
Log:
no longer user globalUser, since that var is not guaranteed to exist

Modified: branches/acq-experiment/Open-ILS/web/js/dojo/openils/editors.js
===================================================================
--- branches/acq-experiment/Open-ILS/web/js/dojo/openils/editors.js	2008-06-26 19:35:00 UTC (rev 9939)
+++ branches/acq-experiment/Open-ILS/web/js/dojo/openils/editors.js	2008-06-26 19:35:44 UTC (rev 9940)
@@ -44,8 +44,7 @@
     editorClass: "openils.widget.OrgUnitFilteringSelect",
     createEditor: function(inNode, inDatum, inRowIndex) {
 	var editor = new this.editorClass(this.getEditorProps(inDatum), inNode);
-	globalUser.buildPermOrgSelector(this.cell.perm || this.perm,
-					editor);
+	new openils.User().buildPermOrgSelector(this.cell.perm || this.perm, editor);
 	editor.setValue(inDatum);
 	return editor;
     },



More information about the open-ils-commits mailing list