From: phasefx Date: Sat, 15 Mar 2008 05:49:00 +0000 (+0000) Subject: Sometimes the main window will lose focus and get lowered after clipboard actions... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f594ef4cbaa19b59e3465007dae7c8e4b9866008;p=Evergreen.git 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 --- 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); }