From 7ca154e613329050885b7c6a799488475266218e Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 24 Mar 2013 15:51:30 +0100 Subject: enter captchas on webui --- module/web/static/js/views/abstract/modalView.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/web/static/js/views/abstract/modalView.js') 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 $('

Content!

'); + return {content: $('

Content!

').html()}; }, show: function() { -- cgit v1.2.3