default app.text_theme should be object, not array
authorDarren <darren@darrenwhitlen.com>
Wed, 7 May 2014 23:38:38 +0000 (00:38 +0100)
committerDarren <darren@darrenwhitlen.com>
Wed, 7 May 2014 23:38:38 +0000 (00:38 +0100)
client/src/models/application.js

index 277434de9032c380663b994a09330624a9fe4df0..e43a8e76e506c92687343739c18b7f5dc2932d5d 100644 (file)
@@ -28,7 +28,7 @@
             this.server_settings = options.server_settings || {};\r
             this.translations = options.translations || {};\r
             this.themes = options.themes || [];\r
-            this.text_theme = options.text_theme || [];\r
+            this.text_theme = options.text_theme || {};\r
 \r
             // Best guess at where the kiwi server is if not already specified\r
             this.kiwi_server = options.kiwi_server || this.detectKiwiServer();\r