From c202fcfcb57c939a726571965d7c29f1d56f34e5 Mon Sep 17 00:00:00 2001 From: phasefx Date: Tue, 13 Nov 2007 15:42:36 +0000 Subject: [PATCH] default is a reserved word in javascript and breaks under this usage 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/patron/holds.js b/Open-ILS/xul/staff_client/server/patron/holds.js index f2ac8e2a91..c710a97c07 100644 --- a/Open-ILS/xul/staff_client/server/patron/holds.js +++ b/Open-ILS/xul/staff_client/server/patron/holds.js @@ -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); }, -- 2.11.0