]> source.dussan.org Git - vaadin-framework.git/commitdiff
#8226 Don't throw exception when defaults are already defined
authorLeif Åstrand <leif@vaadin.com>
Wed, 4 Jan 2012 08:42:23 +0000 (10:42 +0200)
committerLeif Åstrand <leif@vaadin.com>
Wed, 4 Jan 2012 08:42:23 +0000 (10:42 +0200)
WebContent/VAADIN/vaadinBootstrap.js

index 6adcb86c99c01065d1c82c4bb0b7cd74160a6acf..37cd037664d62571e87a11f367e20de02b2fad0b 100644 (file)
@@ -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;