[open-ils-commits] r8058 - trunk/Open-ILS/xul/staff_client/server/patron

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Nov 13 10:59:09 EST 2007


Author: phasefx
Date: 2007-11-13 10:42:36 -0500 (Tue, 13 Nov 2007)
New Revision: 8058

Modified:
   trunk/Open-ILS/xul/staff_client/server/patron/holds.js
Log:
default is a reserved word in javascript and breaks under this usage

Modified: trunk/Open-ILS/xul/staff_client/server/patron/holds.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/holds.js	2007-11-12 19:11:56 UTC (rev 8057)
+++ trunk/Open-ILS/xul/staff_client/server/patron/holds.js	2007-11-13 15:42:36 UTC (rev 8058)
@@ -13,7 +13,7 @@
     'hold_interface_type' : null,
 
     'pull_from_shelf_interface' : {
-        'default' : { 'limit' : 50, 'offset' : 0 },
+        '_default' : { 'limit' : 50, 'offset' : 0 },
         'current' : { 'limit' : 50, 'offset' : 0 }
     },
 
@@ -792,7 +792,7 @@
 
     'clear_and_retrieve' : function(dont_show_me_the_list_change) {
         this.list.clear();
-        this.pull_from_shelf_interface.current.offset = this.pull_from_shelf_interface.default.offset;
+        this.pull_from_shelf_interface.current.offset = this.pull_from_shelf_interface._default.offset;
         this.retrieve(dont_show_me_the_list_change);
     },
 



More information about the open-ils-commits mailing list