aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2009-12-21 11:49:46 +0000
committerArtur Signell <artur.signell@itmill.com>2009-12-21 11:49:46 +0000
commit8043a71c9cd8c6c0306c35ba9de762b166de2e65 (patch)
tree1004eadd4d6c2c3de9bf3abbd49bcfb242035c50
parent6f5fee08451de09d6b524e32ea3a5cfa889d3ad1 (diff)
downloadvaadin-framework-8043a71c9cd8c6c0306c35ba9de762b166de2e65.tar.gz
vaadin-framework-8043a71c9cd8c6c0306c35ba9de762b166de2e65.zip
Support new gwt.codesvr parameter (#3810)
svn changeset:10479/svn branch:6.3
-rw-r--r--WebContent/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebContent/index.html b/WebContent/index.html
index f7c4fe9c32..46bc8846fd 100644
--- a/WebContent/index.html
+++ b/WebContent/index.html
@@ -10,7 +10,7 @@
<script type="text/javascript">
window.onload = function() {
try {
- if(window.location.search && -1 != window.location.search.indexOf('gwt.hosted')) {
+ if(window.location.search && (window.location.search.indexOf('gwt.hosted') != -1 || window.location.search.indexOf('gwt.codesvr') != -1)) {
var hostedParam = window.location.search;
var demolinks = document.getElementsByTagName("a");
for (var k = 0; k < demolinks.length; k++) {