[open-ils-commits] r15180 - trunk/Open-ILS/xul/staff_client/chrome/content/util (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Dec 17 00:58:53 EST 2009
Author: phasefx
Date: 2009-12-17 00:58:50 -0500 (Thu, 17 Dec 2009)
New Revision: 15180
Modified:
trunk/Open-ILS/xul/staff_client/chrome/content/util/browser.js
Log:
setting the debug link value should not be dependent on a on_url_load function being passed into browser.js
Modified: trunk/Open-ILS/xul/staff_client/chrome/content/util/browser.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/util/browser.js 2009-12-17 05:36:59 UTC (rev 15179)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/util/browser.js 2009-12-17 05:58:50 UTC (rev 15180)
@@ -216,17 +216,17 @@
try {
obj.error.sdump('D_TRACE','calling on_url_load');
obj.on_url_load( obj.controller.view.browser_browser );
- if (obj.debug_label) {
- try {
- document.getElementById(obj.debug_label).setAttribute('tooltiptext','url: ' + obj.get_content().location.href);
- } catch(E) {
- obj.error.sdump('D_ERROR','on_url_load, debug_label: ' + E );
- }
- }
} catch(E) {
obj.error.sdump('D_ERROR','on_url_load: ' + E );
}
}
+ if (obj.debug_label) {
+ try {
+ document.getElementById(obj.debug_label).setAttribute('tooltiptext','url: ' + obj.get_content().location.href);
+ } catch(E) {
+ obj.error.sdump('D_ERROR','on_url_load, debug_label: ' + E );
+ }
+ }
}
}
if (stateFlags & nsIWebProgressListener.STATE_IS_NETWORK) {
More information about the open-ils-commits
mailing list