Permalink
Browse files

Fix issues with running IE 8

  • Loading branch information...
rstoyanchev committed Aug 20, 2013
1 parent 7db2156 commit e2cf08b1605b9a06e56e5dc51ceac3efb95c32eb
@@ -30,7 +30,6 @@
import org.springframework.web.servlet.handler.SimpleUrlHandlerMapping;
import org.springframework.web.socket.WebSocketHandler;
import org.springframework.web.socket.sockjs.SockJsHttpRequestHandler;
-import org.springframework.web.socket.sockjs.SockJsService;
import org.springframework.web.socket.sockjs.transport.handler.DefaultSockJsService;
@@ -48,7 +47,8 @@
@Bean
public SimpleUrlHandlerMapping handlerMapping() {
- SockJsService sockJsService = new DefaultSockJsService(taskScheduler());
+ DefaultSockJsService sockJsService = new DefaultSockJsService(taskScheduler());
+ sockJsService.setDummySessionCookieEnabled(true);
HttpRequestHandler requestHandler = new SockJsHttpRequestHandler(sockJsService, webSocketHandler());
SimpleUrlHandlerMapping hm = new SimpleUrlHandlerMapping();

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -6,6 +6,11 @@
<meta http-equiv="Cache-Control" content="no-store, no-cache, must-revalidate, max-age=0">
<link href="assets/css/portfolio.css" rel="stylesheet">
<link href="assets/css/bootstrap.css" rel="stylesheet">
+
+ <!--[if lt IE 9]>
+ <script src="assets/js/html5shiv.js"></script>
+ <![endif]-->
+
</head>
<body>
@@ -31,7 +31,7 @@ <h3 class="muted form-signin-heading">Please sign in</h3>
showErrorMessage : ko.computed(function() {
var query = window.location.search;
return query ? (query.indexOf('error') != -1) : false;
- }),
+ })
});
</script>

0 comments on commit e2cf08b

Please sign in to comment.