From 00203b94cb18c60b6fa45f59a4289b5c5b914496 Mon Sep 17 00:00:00 2001 From: Darren Date: Sun, 27 Oct 2013 11:01:57 +0000 Subject: [PATCH] Correctly using application template (fixes timestamps/theme/css class issues) --- client/src/views/application.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/src/views/application.js b/client/src/views/application.js index f68e52b..2f0af27 100644 --- a/client/src/views/application.js +++ b/client/src/views/application.js @@ -2,7 +2,10 @@ _kiwi.view.Application = Backbone.View.extend({ initialize: function () { var that = this; - this.$el.append($('#tmpl_application').html().trim()); + this.$el = $($('#tmpl_application').html().trim()); + this.el = this.$el[0]; + + $(this.model.get('container') || 'body').append(this.$el); this.elements = { panels: this.$el.find('.panels'), -- 2.25.1