From: Jason Etheridge Date: Wed, 23 Mar 2011 15:09:46 +0000 (-0400) Subject: Give the volume/copy creator a horizontal scrollbar if needed, and auto-scroll it... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a4573c39debdf608ffd88435394c58d9dc76d8bc;p=evergreen%2Fequinox.git Give the volume/copy creator a horizontal scrollbar if needed, and auto-scroll it to the far right if possible --- diff --git a/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js b/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js index 1c9933e0ea..1174e7cb6a 100644 --- a/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js +++ b/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js @@ -200,6 +200,12 @@ function my_init() { g.gather_copies_soon(); } + try { + $('main').parentNode.scrollLeft = 9999; + } catch(E) { + dump('Error in volume_copy_creator.js, my_init(), trying to auto-scroll to the far right: ' + E + '\n'); + } + } catch(E) { var err_msg = $("commonStrings").getFormattedString('common.exception', ['cat/volume_copy_creator.js', E]); try { g.error.sdump('D_ERROR',err_msg); } catch(E) { dump(err_msg); dump(js2JSON(E)); } diff --git a/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.xul b/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.xul index 80f8634c87..9e88c1ae68 100644 --- a/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.xul +++ b/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.xul @@ -36,6 +36,7 @@ + +