[Commits] r233 - sandbox/opengeo/alachua/lib
commits at geoext.org
commits at geoext.org
Wed Mar 18 20:58:48 CET 2009
Author: tcoulter
Date: 2009-03-18 20:58:47 +0100 (Wed, 18 Mar 2009)
New Revision: 233
Modified:
sandbox/opengeo/alachua/lib/GeoExt.js
Log:
Fixes ticket #142. Also makes application run in Firefox 2.
Modified: sandbox/opengeo/alachua/lib/GeoExt.js
===================================================================
--- sandbox/opengeo/alachua/lib/GeoExt.js 2009-03-18 18:18:00 UTC (rev 232)
+++ sandbox/opengeo/alachua/lib/GeoExt.js 2009-03-18 19:58:47 UTC (rev 233)
@@ -46,6 +46,10 @@
* Function returning the path of this script.
*/
var getScriptLocation = function() {
+ if(window.scriptLocation){
+ return window.scriptLocation;
+ }
+
var scriptLocation = "";
var scripts = document.getElementsByTagName('script');
for(var i=0, len=scripts.length; i<len; i++) {
More information about the Commits
mailing list