fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added auto-removal of commas in theme edit box, if there was only 1 theme netered...
[redakcja.git]
/
platforma
/
static
/
js
/
views
/
gallery.js
diff --git
a/platforma/static/js/views/gallery.js
b/platforma/static/js/views/gallery.js
index
a403c9e
..
d6844c6
100644
(file)
--- a/
platforma/static/js/views/gallery.js
+++ b/
platforma/static/js/views/gallery.js
@@
-10,7
+10,8
@@
var ImageGalleryView = View.extend({
init: function(element, model, parent, template)
{
console.log("init for gallery");
init: function(element, model, parent, template)
{
console.log("init for gallery");
- this._super(element, model, template);
+ var submodel = model.contentModels['gallery'];
+ this._super(element, submodel, template);
this.parent = parent;
console.log("gallery model", this.model);
this.parent = parent;
console.log("gallery model", this.model);