Sometimes the main window will lose focus and get lowered after clipboard actions...
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 15 Mar 2008 05:46:21 +0000 (05:46 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 15 Mar 2008 05:46:21 +0000 (05:46 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@9039 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/chrome/content/util/list.js

index 8bdba57..fbe0dd5 100644 (file)
@@ -1157,6 +1157,7 @@ util.list.prototype = {
                        data.list_clipboard = dump; data.stash('list_clipboard');
                        JSAN.use('util.window'); var win = new util.window();
                        win.open(urls.XUL_LIST_CLIPBOARD,'list_clipboard','chrome,resizable,modal');
+            window.focus(); // sometimes the main window will lower after a clipboard action
                } catch(E) {
                        this.error.standard_unexpected_error_alert('clipboard',E);
                }