From 0801c871589ba6cdde2fd42a9017289dae4fc346 Mon Sep 17 00:00:00 2001 From: Darren Date: Wed, 10 Oct 2012 18:06:49 +0100 Subject: [PATCH] Correctly reading passed application options --- client/dev/model_application.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/client/dev/model_application.js b/client/dev/model_application.js index e95b2bd..1f4e0e5 100644 --- a/client/dev/model_application.js +++ b/client/dev/model_application.js @@ -19,9 +19,13 @@ kiwi.model.Application = function () { /* Address for the kiwi server */ this.kiwi_server = null; - this.initialize = function () { + this.initialize = function (options) { that = this; + if (options[0].container) { + this.set('container', options[0].container); + } + // Best guess at where the kiwi server is this.detectKiwiServer(); }; -- 2.25.1