[open-ils-commits] r11234 - trunk/Open-ILS/xul/staff_client/chrome/content/util
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Nov 16 21:57:19 EST 2008
Author: phasefx
Date: 2008-11-16 21:57:17 -0500 (Sun, 16 Nov 2008)
New Revision: 11234
Modified:
trunk/Open-ILS/xul/staff_client/chrome/content/util/fancy_prompt.xul
Log:
trust no one
Modified: trunk/Open-ILS/xul/staff_client/chrome/content/util/fancy_prompt.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/util/fancy_prompt.xul 2008-11-17 02:53:11 UTC (rev 11233)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/util/fancy_prompt.xul 2008-11-17 02:57:17 UTC (rev 11234)
@@ -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