[open-ils-commits] r11237 - branches/rel_1_4/Open-ILS/xul/staff_client/chrome/content/util
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Nov 16 22:11:05 EST 2008
Author: phasefx
Date: 2008-11-16 22:11:03 -0500 (Sun, 16 Nov 2008)
New Revision: 11237
Modified:
branches/rel_1_4/Open-ILS/xul/staff_client/chrome/content/util/fancy_prompt.xul
Log:
trust no one
Modified: branches/rel_1_4/Open-ILS/xul/staff_client/chrome/content/util/fancy_prompt.xul
===================================================================
--- branches/rel_1_4/Open-ILS/xul/staff_client/chrome/content/util/fancy_prompt.xul 2008-11-17 03:10:38 UTC (rev 11236)
+++ branches/rel_1_4/Open-ILS/xul/staff_client/chrome/content/util/fancy_prompt.xul 2008-11-17 03:11:03 UTC (rev 11237)
@@ -92,7 +92,10 @@
try { document.title = xul_param('title',{'modal_xulG':true}); } catch(E) {}
}
- if (xul_param('focus',{'modal_xulG':true})) document.getElementById(xul_param('focus',{'modal_xulG':true})).focus();
+ if (xul_param('focus',{'modal_xulG':true})) {
+ var focus_element = document.getElementById(xul_param('focus',{'modal_xulG':true}));
+ if (focus_element) focus_element.focus();
+ }
JSAN.use('OpenILS.data'); var data = new OpenILS.data(); data.init({'via':'stash'});
xulG.fancy_status = 'incomplete';
More information about the open-ils-commits
mailing list