File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -233,3 +233,9 @@ Seth Tisue
233233
234234### Email: ###
235235seth at tisue dot net
236+
237+ ### Name: ###
238+ Josef Vlach
239+
240+ ### Email: ###
241+ vlach.josef at gmail dot com
Original file line number Diff line number Diff line change 7676 } ,
7777 cometGetTimeout : 140000 ,
7878 cometFailureRetryTimeout : 10000 ,
79- cometOnSessionLost : function ( ) {
80- window . location . href = "/" ;
79+ cometOnSessionLost : function ( contextPath ) {
80+ window . location . href = contextPath || "/" ;
8181 } ,
8282 cometServer : null ,
8383 cometOnError : function ( e ) {
600600 } ,
601601 calcAjaxUrl : calcAjaxUrl ,
602602 registerComets : registerComets ,
603- cometOnSessionLost : function ( ) {
604- settings . cometOnSessionLost ( ) ;
603+ cometOnSessionLost : function ( contextPath ) {
604+ settings . cometOnSessionLost ( contextPath ) ;
605605 } ,
606606 cometOnError : function ( e ) {
607607 settings . cometOnError ( e ) ;
Original file line number Diff line number Diff line change @@ -766,7 +766,7 @@ class LiftRules() extends Factory with FormVendor with LazyLoggable {
766766 * lift.cometOnSessionLost reloads the current page by default.
767767 */
768768 val noCometSessionCmd = new FactoryMaker [JsCmd ](
769- () => JsCmds .Run (" lift.cometOnSessionLost()" )
769+ () => JsCmds .Run (s " lift.cometOnSessionLost(' ${ S .contextPath.replace( " ' " , " \\ ' " )} ' )" )
770770 ) {}
771771
772772 /**
You can’t perform that action at this time.
0 commit comments