[fusion-commits] r2085 - sandbox/adsk/2.2gp/lib
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Tue Feb 23 05:18:42 EST 2010
Author: liuar
Date: 2010-02-23 05:18:40 -0500 (Tue, 23 Feb 2010)
New Revision: 2085
Modified:
sandbox/adsk/2.2gp/lib/fusion.js
Log:
Create session when Fusion.getQueryParam('Session') returns "".
Modified: sandbox/adsk/2.2gp/lib/fusion.js
===================================================================
--- sandbox/adsk/2.2gp/lib/fusion.js 2010-02-23 10:18:16 UTC (rev 2084)
+++ sandbox/adsk/2.2gp/lib/fusion.js 2010-02-23 10:18:40 UTC (rev 2085)
@@ -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;
@@ -1515,7 +1515,6 @@
addElement(veElement);
}
}
-
})();
More information about the fusion-commits
mailing list