default is a reserved word in javascript and breaks under this usage
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 13 Nov 2007 15:42:36 +0000 (15:42 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 13 Nov 2007 15:42:36 +0000 (15:42 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@8058 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/patron/holds.js

index f2ac8e2..c710a97 100644 (file)
@@ -13,7 +13,7 @@ patron.holds.prototype = {
     '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 @@ patron.holds.prototype = {
 
     '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);
     },