From 58f5ab84c4bbeb94f9d552aa0db333524e025895 Mon Sep 17 00:00:00 2001 From: Leif Åstrand Date: Thu, 24 Nov 2011 16:57:53 +0200 Subject: Set vaadin.debug to make ?debug in the URL work --- WebContent/VAADIN/vaadinBootstrap.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'WebContent/VAADIN/vaadinBootstrap.js') diff --git a/WebContent/VAADIN/vaadinBootstrap.js b/WebContent/VAADIN/vaadinBootstrap.js index 917aa2aa4a..0aec37efe7 100644 --- a/WebContent/VAADIN/vaadinBootstrap.js +++ b/WebContent/VAADIN/vaadinBootstrap.js @@ -90,6 +90,11 @@ } } + if (getConfig("debug")) { + // TODO debug state is now global for the entire page, but should somehow only be set for the current application + window.vaadin.debug = true; + } + //Export public data var app = { 'getConfig': getConfig -- cgit v1.2.3