From b618cbcd52c5164824060283b30a4c25316bb6a5 Mon Sep 17 00:00:00 2001 From: James Fournie Date: Tue, 15 Nov 2011 17:06:48 -0800 Subject: [PATCH] Quasi-backport fixes a bug whereby the copy browser does not automatically refresh after adding volumes. This bug is fixed in future versions by git commit bcd6f20b but the bugfix itself is not noted in that commit message. Signed-off-by: James Fournie --- Open-ILS/xul/staff_client/server/cat/copy_browser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/cat/copy_browser.js b/Open-ILS/xul/staff_client/server/cat/copy_browser.js index 4be4ca0815..8f55d8cc58 100644 --- a/Open-ILS/xul/staff_client/server/cat/copy_browser.js +++ b/Open-ILS/xul/staff_client/server/cat/copy_browser.js @@ -295,7 +295,7 @@ cat.copy_browser.prototype = { 'doc_id' : obj.docid, 'ou_ids' : list, 'copy_shortcut' : copy_shortcut, - 'refresh' : function() { obj.refresh_list(); } + 'onrefresh' : function() { obj.refresh_list(); } } ); } catch(E) { @@ -539,7 +539,7 @@ cat.copy_browser.prototype = { var w = xulG.new_tab( window.xulG.url_prefix(urls.XUL_VOLUME_COPY_CREATOR), { 'tab_name' : title }, - { 'doc_id' : obj.docid, 'ou_ids' : list, 'refresh' : function() { obj.refresh_list(); } } + { 'doc_id' : obj.docid, 'ou_ids' : list, 'onrefresh' : function() { obj.refresh_list(); } } ); } catch(E) { -- 2.11.0