From: Jason Etheridge Date: Tue, 22 May 2012 15:11:01 +0000 (-0400) Subject: minor fix.. this was working, but not in the same vein of other 'render' elements X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b53d7120da33d7f027b535cf64feca7828178618;p=evergreen%2Fpines.git minor fix.. this was working, but not in the same vein of other 'render' elements Signed-off-by: Jason Etheridge Signed-off-by: Mike Rylander --- diff --git a/Open-ILS/xul/staff_client/server/patron/holds.js b/Open-ILS/xul/staff_client/server/patron/holds.js index 478056c121..f461acf0d3 100644 --- a/Open-ILS/xul/staff_client/server/patron/holds.js +++ b/Open-ILS/xul/staff_client/server/patron/holds.js @@ -232,8 +232,10 @@ patron.holds.prototype = { 'alt_view_btn' : [ ['render'], function(e) { - e.setAttribute('label', document.getElementById("circStrings").getString('staff.circ.holds.alt_view.label')); - e.setAttribute('accesskey', document.getElementById("circStrings").getString('staff.circ.holds.alt_view.accesskey')); + return function() { + e.setAttribute('label', document.getElementById("circStrings").getString('staff.circ.holds.alt_view.label')); + e.setAttribute('accesskey', document.getElementById("circStrings").getString('staff.circ.holds.alt_view.accesskey')); + }; } ], 'cmd_alt_view' : [