fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Oddzielny szablon dla pustej galerii.
[redakcja.git]
/
platforma
/
static
/
js
/
views
/
view.js
diff --git
a/platforma/static/js/views/view.js
b/platforma/static/js/views/view.js
index
d0c6d17
..
9441fc5
100644
(file)
--- a/
platforma/static/js/views/view.js
+++ b/
platforma/static/js/views/view.js
@@
-21,9
+21,9
@@
var View = Editor.Object.extend({
$(this.element).bind('resize', this._resizeHandler);
},
$(this.element).bind('resize', this._resizeHandler);
},
- render: function() {
+ render: function(
template
) {
console.log('rendering:', this._className);
console.log('rendering:', this._className);
- this.element.html(render_template(this.template, this));
+ this.element.html(render_template(t
emplate || t
his.template, this));
},
frozen: function() {
},
frozen: function() {