fix bug from overzealous copy/paste, and override the modal-expecting xul_param behav...
authorJason Etheridge <jason@esilibrary.com>
Mon, 28 Feb 2011 05:46:57 +0000 (00:46 -0500)
committerJason Etheridge <jason@esilibrary.com>
Wed, 2 Mar 2011 15:20:57 +0000 (10:20 -0500)
Open-ILS/xul/staff_client/server/cat/copy_editor.js
Open-ILS/xul/staff_client/server/cat/volume_copy_editor.js

index e36fac4..02d9aaf 100644 (file)
@@ -172,7 +172,6 @@ function my_init() {
                     g.summarize( g.copies );
                     g.render();
                     g.check_for_unmet_required_fields();
-                    document.getElementById(caption.id).focus();
                 } catch(E) {
                     alert('Error in copy_editor.js, xulG.refresh_copy_editor(): ' + E);
                 }
index f9ad1d6..6b95f7c 100644 (file)
@@ -14,6 +14,7 @@ function my_init() {
         }*/
 
         xulG.unified_interface = true;
+        xulG.not_modal = true;
 
         JSAN.use('util.browser');
         var volume_pane = new util.browser();