From b53d7120da33d7f027b535cf64feca7828178618 Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Tue, 22 May 2012 11:11:01 -0400 Subject: [PATCH] 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 --- Open-ILS/xul/staff_client/server/patron/holds.js | 6 ++++-- 1 file changed, 4 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 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' : [ -- 2.43.2