[open-ils-commits] r9039 -
trunk/Open-ILS/xul/staff_client/chrome/content/util
svn at svn.open-ils.org
svn at svn.open-ils.org
Sat Mar 15 02:20:04 EDT 2008
Author: phasefx
Date: 2008-03-15 01:46:21 -0400 (Sat, 15 Mar 2008)
New Revision: 9039
Modified:
trunk/Open-ILS/xul/staff_client/chrome/content/util/list.js
Log:
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
Modified: trunk/Open-ILS/xul/staff_client/chrome/content/util/list.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/util/list.js 2008-03-15 05:02:31 UTC (rev 9038)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/util/list.js 2008-03-15 05:46:21 UTC (rev 9039)
@@ -1157,6 +1157,7 @@
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);
}
More information about the open-ils-commits
mailing list