X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/8d490fc7810e0052bad3414b445b24276bbfca63..e1fa59b1d066294098538b17725f20e2e50110d2:/platforma/static/js/views/gallery.js?ds=inline diff --git a/platforma/static/js/views/gallery.js b/platforma/static/js/views/gallery.js old mode 100644 new mode 100755 index a403c9ef..d6844c62 --- 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"); - this._super(element, model, template); + var submodel = model.contentModels['gallery']; + this._super(element, submodel, template); this.parent = parent; console.log("gallery model", this.model);