diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2008-12-16 08:50:35 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2008-12-16 08:50:35 +0000 |
commit | b1c498242395ab084f0e8d3e512d263f77230340 (patch) | |
tree | 26dd4d347fe406d525f673edd3a74932c03d8026 /src/com/itmill/toolkit/terminal/gwt/server | |
parent | c2d49ed23eb282b577f9e251700f83af4157eb45 (diff) | |
download | vaadin-framework-b1c498242395ab084f0e8d3e512d263f77230340.tar.gz vaadin-framework-b1c498242395ab084f0e8d3e512d263f77230340.zip |
fixed validation problem (since [6219])
svn changeset:6223/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/terminal/gwt/server')
-rw-r--r-- | src/com/itmill/toolkit/terminal/gwt/server/ApplicationServlet.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/com/itmill/toolkit/terminal/gwt/server/ApplicationServlet.java b/src/com/itmill/toolkit/terminal/gwt/server/ApplicationServlet.java index b5c1831a83..22735b07f2 100644 --- a/src/com/itmill/toolkit/terminal/gwt/server/ApplicationServlet.java +++ b/src/com/itmill/toolkit/terminal/gwt/server/ApplicationServlet.java @@ -999,8 +999,9 @@ public class ApplicationServlet extends HttpServlet { // Warn if the widgetset has not been loaded after 15 seconds on // inactivity - page.write("<script type=\"text/javascript\">\n" - + "setTimeout('if (typeof " + widgetset.replace('.', '_') + page.write("<script type=\"text/javascript\">\n"); + page.write("//<![CDATA[\n"); + page.write("setTimeout('if (typeof " + widgetset.replace('.', '_') + " == \"undefined\") {alert(\"Failed to load the widgetset: " + staticFilePath + "/" + WIDGETSET_DIRECTORY_PATH + widgetset + "/" + widgetset + ".nocache.js\")};',15000);\n" |