[open-ils-commits] r9258 - in branches/dojo-admin/Open-ILS/web/conify/global: actor permission

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Apr 7 17:06:43 EDT 2008


Author: miker
Date: 2008-04-07 16:29:41 -0400 (Mon, 07 Apr 2008)
New Revision: 9258

Modified:
   branches/dojo-admin/Open-ILS/web/conify/global/actor/org_unit.html
   branches/dojo-admin/Open-ILS/web/conify/global/actor/org_unit_type.html
   branches/dojo-admin/Open-ILS/web/conify/global/permission/perm_list.html
Log:
proper ordering of onSet args (not important to those uses, but important for reference

Modified: branches/dojo-admin/Open-ILS/web/conify/global/actor/org_unit.html
===================================================================
--- branches/dojo-admin/Open-ILS/web/conify/global/actor/org_unit.html	2008-04-07 20:28:55 UTC (rev 9257)
+++ branches/dojo-admin/Open-ILS/web/conify/global/actor/org_unit.html	2008-04-07 20:29:41 UTC (rev 9258)
@@ -66,7 +66,7 @@
 							window._ou_data = aou.toStoreData( window._ou_list );
 							window.ou_list_store = new dojo.data.ItemFileWriteStore({ data : window._ou_data });
 
-							window.ou_list_store.onSet = function (item, attr, n, o) {
+							window.ou_list_store.onSet = function (item, attr, o, n) {
 								if (attr == 'ischanged') return;
 								if (n == o) return;
 								this.setValue( item, 'ischanged', 1);

Modified: branches/dojo-admin/Open-ILS/web/conify/global/actor/org_unit_type.html
===================================================================
--- branches/dojo-admin/Open-ILS/web/conify/global/actor/org_unit_type.html	2008-04-07 20:28:55 UTC (rev 9257)
+++ branches/dojo-admin/Open-ILS/web/conify/global/actor/org_unit_type.html	2008-04-07 20:29:41 UTC (rev 9258)
@@ -61,7 +61,7 @@
                         onerror : function (r) { status_update('Problem fetching types') },
                         oncomplete : function (r) {
                             ou_type_store = new dojo.data.ItemFileWriteStore({ data : aout.toStoreData( r.recv().content() ) });
-                            ou_type_store.onSet = function (item, attr, n, o) {
+                            ou_type_store.onSet = function (item, attr, o, n) {
                                 if (attr == 'ischanged') return;
                                 if (n == o) return;
                                 this.setValue( item, 'ischanged', 1);

Modified: branches/dojo-admin/Open-ILS/web/conify/global/permission/perm_list.html
===================================================================
--- branches/dojo-admin/Open-ILS/web/conify/global/permission/perm_list.html	2008-04-07 20:28:55 UTC (rev 9257)
+++ branches/dojo-admin/Open-ILS/web/conify/global/permission/perm_list.html	2008-04-07 20:29:41 UTC (rev 9258)
@@ -70,7 +70,7 @@
                         window._perm_data = ppl.toStoreData( window._perm_list, 'code' );
                         window.perm_store = new dojo.data.ItemFileWriteStore({ data : window._perm_data });
 
-	                    perm_store.onSet = function (item, attr, n, o) {
+	                    perm_store.onSet = function (item, attr, o, n) {
                             if (attr == 'ischanged') return;
                             if (n == o) return;
                             this.setValue( item, 'ischanged', 1);



More information about the open-ils-commits mailing list