summaryrefslogtreecommitdiffstats
path: root/module/web/static/js/views/abstract/modalView.js
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-03-24 15:51:30 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-03-24 15:51:30 +0100
commit7ca154e613329050885b7c6a799488475266218e (patch)
tree6da18e4565766aee6a3f47f23dd0dfc396fec78e /module/web/static/js/views/abstract/modalView.js
parentimplemented interactions for multi user, show waiting queries on webui (diff)
downloadpyload-7ca154e613329050885b7c6a799488475266218e.tar.xz
enter captchas on webui
Diffstat (limited to 'module/web/static/js/views/abstract/modalView.js')
-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() {