From bfd26a62cf895585a81e6ff14e5e8ba6c8b1e29f Mon Sep 17 00:00:00 2001 From: Leif Åstrand Date: Wed, 4 Jan 2012 10:42:23 +0200 Subject: #8226 Don't throw exception when defaults are already defined --- WebContent/VAADIN/vaadinBootstrap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'WebContent/VAADIN/vaadinBootstrap.js') diff --git a/WebContent/VAADIN/vaadinBootstrap.js b/WebContent/VAADIN/vaadinBootstrap.js index 6adcb86c99..37cd037664 100644 --- a/WebContent/VAADIN/vaadinBootstrap.js +++ b/WebContent/VAADIN/vaadinBootstrap.js @@ -62,7 +62,7 @@ window.vaadin = window.vaadin || { setDefaults: function(d) { if (defaults) { - throw "Defaults already defined"; + log("Ignoring new defaults as defaults have already been loaded"); } log("Got defaults", d) defaults = d; -- cgit v1.2.3