summaryrefslogtreecommitdiffstats
path: root/module/web/static/js/views/abstract
diff options
context:
space:
mode:
Diffstat (limited to 'module/web/static/js/views/abstract')
-rw-r--r--module/web/static/js/views/abstract/modalView.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/web/static/js/views/abstract/modalView.js b/module/web/static/js/views/abstract/modalView.js
index 8f5a7ed0c..d3ac34bd6 100644
--- a/module/web/static/js/views/abstract/modalView.js
+++ b/module/web/static/js/views/abstract/modalView.js
@@ -32,7 +32,7 @@ define(['jquery', 'backbone', 'underscore', 'omniwindow'], function($, Backbone,
},
render: function() {
- this.$el.html(this.template({ content: this.renderContent().html()}));
+ this.$el.html(this.template(this.renderContent()));
this.$el.addClass('modal hide');
this.$el.css({opacity: 0, scale: 0.7});
$("body").append(this.el);
@@ -73,7 +73,7 @@ define(['jquery', 'backbone', 'underscore', 'omniwindow'], function($, Backbone,
return this;
},
renderContent: function() {
- return $('<h1>Content!</h1>');
+ return {content: $('<h1>Content!</h1>').html()};
},
show: function() {