From ea3c9ff726ee1df3b25285d50f98a5afedf87158 Mon Sep 17 00:00:00 2001 From: phasefx Date: Sat, 15 Mar 2008 05:46:21 +0000 Subject: [PATCH] Sometimes the main window will lose focus and get lowered after clipboard actions... this will make sure the window stays raised (despite the action being called .focus), but we still need to figure out focus 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/Open-ILS/xul/staff_client/chrome/content/util/list.js b/Open-ILS/xul/staff_client/chrome/content/util/list.js index 8bdba572e5..fbe0dd570e 100644 --- a/Open-ILS/xul/staff_client/chrome/content/util/list.js +++ b/Open-ILS/xul/staff_client/chrome/content/util/list.js @@ -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); } -- 2.11.0