Author: alexsmirnov
Date: 2007-05-07 17:04:16 -0400 (Mon, 07 May 2007)
New Revision: 182
Modified:
trunk/framework/src/main/javascript/ajaxjsf/JSFAJAX.js
Log:
Fix compability with Jboss portal 2.6
Modified: trunk/framework/src/main/javascript/ajaxjsf/JSFAJAX.js
===================================================================
--- trunk/framework/src/main/javascript/ajaxjsf/JSFAJAX.js 2007-05-07 19:58:03 UTC (rev
181)
+++ trunk/framework/src/main/javascript/ajaxjsf/JSFAJAX.js 2007-05-07 21:04:16 UTC (rev
182)
@@ -350,8 +350,9 @@
},
_noSessionHref : function(href){
+ var cref = href;
+ if(href){
var sessionid = href.lastIndexOf(";jsessionid=");
- var cref = href;;
if(sessionid>0){
cref = href.substring(0,sessionid);
var params = href.lastIndexOf("?");
@@ -359,6 +360,7 @@
cref=cref+href.substring(params);
}
}
+ }
return cref;
},