From: James Fournie Date: Wed, 16 Nov 2011 01:06:48 +0000 (-0800) Subject: Quasi-backport fixes a bug whereby the copy browser does not X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=309b6ef4910e8e31fc315f914b6f2414a7b701f6;p=contrib%2FConifer.git 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 Signed-off-by: Jason Etheridge --- 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) {