From f594ef4cbaa19b59e3465007dae7c8e4b9866008 Mon Sep 17 00:00:00 2001 From: phasefx Date: Sat, 15 Mar 2008 05:49:00 +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/branches/rel_1_2@9042 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..f2d12a58ca 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(); } catch(E) { this.error.standard_unexpected_error_alert('clipboard',E); } -- 2.11.0