proper ordering of onSet args (not important to those uses, but important for reference
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 7 Apr 2008 20:29:41 +0000 (20:29 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 7 Apr 2008 20:29:41 +0000 (20:29 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/dojo-admin@9258 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/conify/global/actor/org_unit.html
Open-ILS/web/conify/global/actor/org_unit_type.html
Open-ILS/web/conify/global/permission/perm_list.html

index ffa50f3..cc58248 100644 (file)
@@ -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);
index e8f19a6..e3574ba 100644 (file)
@@ -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);
index 278dbb7..077c265 100644 (file)
@@ -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);