[open-ils-commits] r9042 -
branches/rel_1_2/Open-ILS/xul/staff_client/chrome/content/util
svn at svn.open-ils.org
svn at svn.open-ils.org
Sat Mar 15 02:22:43 EDT 2008
Author: phasefx
Date: 2008-03-15 01:49:00 -0400 (Sat, 15 Mar 2008)
New Revision: 9042
Modified:
branches/rel_1_2/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: branches/rel_1_2/Open-ILS/xul/staff_client/chrome/content/util/list.js
===================================================================
--- branches/rel_1_2/Open-ILS/xul/staff_client/chrome/content/util/list.js 2008-03-15 05:48:30 UTC (rev 9041)
+++ branches/rel_1_2/Open-ILS/xul/staff_client/chrome/content/util/list.js 2008-03-15 05:49:00 UTC (rev 9042)
@@ -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();
} catch(E) {
this.error.standard_unexpected_error_alert('clipboard',E);
}
More information about the open-ils-commits
mailing list