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=71f313bc05d1fabf56d20e076b82d935f5d65938;p=working%2FEvergreen.git minor fix.. this was working, but not in the same vein of other 'render' elements Signed-off-by: Jason Etheridge --- 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' : [