X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/470de3b144d05f5d3cc530442ffebe37c21c50ca..ff3ac103aa103b9b5cb56e71a6782c9ca98acf94:/project/static/js/views/html.js diff --git a/project/static/js/views/html.js b/project/static/js/views/html.js index 054b60ee..65c8af02 100644 --- a/project/static/js/views/html.js +++ b/project/static/js/views/html.js @@ -1,10 +1,12 @@ /*global Class render_template panels */ var HTMLView = Class.extend({ element: null, + model: null, template: 'html-view-template', - init: function(element, template) { + init: function(element, model, template) { this.element = $(element); + this.model = model; this.template = template || this.template; this.element.html(render_template(this.template, {})); },