avoid a bug where control+w for closing the tab will first pick a W-entry from the...
authorpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 4 Jun 2007 14:52:31 +0000 (14:52 +0000)
committerpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 4 Jun 2007 14:52:31 +0000 (14:52 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@7396 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/cat/copy_browser.js
Open-ILS/xul/staff_client/server/cat/copy_browser.xul

index 70ee346..d82e1e1 100644 (file)
@@ -877,6 +877,8 @@ cat.copy_browser.prototype = {
                                        'command',
                                        function(ev) {
                                                //obj.show_my_libs(ev.target.value);
+                                               //alert('lib picker, command caught - ml = ' + ml + '\nml.value = ' + ml.value + '\n');
+                                               if (document.getElementById('refresh_button')) document.getElementById('refresh_button').focus(); 
                                                JSAN.use('util.file'); var file = new util.file('copy_browser_prefs.'+obj.data.server_unadorned);
                                                util.widgets.save_attributes(file, { 'lib_menu' : [ 'value' ], 'show_acns' : [ 'checked' ], 'show_acps' : [ 'checked' ] });
                                                obj.refresh_list();
index a83a535..447e328 100644 (file)
                <hbox>
                        <checkbox id="show_acns" label="Show Volumes" />
                        <checkbox id="show_acps" label="Show Items" />
-                       <button label="Refresh" command="cmd_refresh_list" />
+                       <button id="refresh_button" label="Refresh" command="cmd_refresh_list" />
                        <button label="Show Libs With Items" command="cmd_show_libs_with_copies" accesskey="L"/>
                        <!-- <button label="Show My Libs" command="cmd_show_my_libs" accesskey="M"/>-->
                        <!--