[fusion-commits] r2084 - trunk/lib
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Tue Feb 23 05:18:20 EST 2010
Author: liuar
Date: 2010-02-23 05:18:16 -0500 (Tue, 23 Feb 2010)
New Revision: 2084
Modified:
trunk/lib/fusion.js
Log:
Create session when Fusion.getQueryParam('Session') returns "".
Modified: trunk/lib/fusion.js
===================================================================
--- trunk/lib/fusion.js 2010-02-22 20:05:23 UTC (rev 2083)
+++ trunk/lib/fusion.js 2010-02-23 10:18:16 UTC (rev 2084)
@@ -1467,7 +1467,7 @@
document.writeln('<script src="' + src + '"><\/script>');
}
- var getXmlHttpRequest = function(){
+ var getXmlHttpRequest = function(){
try { return new XMLHttpRequest(); }
catch (e) { try { return new ActiveXObject('Msxml2.XMLHTTP'); }
catch (e) { try { return new ActiveXObject('Microsoft.XMLHTTP'); }
@@ -1494,7 +1494,7 @@
appDefUrl.indexOf('Library') == 0 ||
appDefUrl.indexOf('Session') == 0)){
var passedSessionId = Fusion.getQueryParam('Session');
- if(passedSessionId == null){
+ if(passedSessionId == null || passedSessionId == "" ){
createSessionId();
}else{
Fusion.sessionId = passedSessionId;
More information about the fusion-commits
mailing list