X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/ddd996af0536a83a4c187843e0d21797b2126e34..661a128f3a3f7bcaac5a33c7f00eb7e790f469d5:/platforma/static/js/views/xml.js?ds=sidebyside diff --git a/platforma/static/js/views/xml.js b/platforma/static/js/views/xml.js old mode 100644 new mode 100755 index 6f0b6fa6..0dd5453f --- a/platforma/static/js/views/xml.js +++ b/platforma/static/js/views/xml.js @@ -8,8 +8,11 @@ var XMLView = View.extend({ buttonToolbar: null, init: function(element, model, parent, template) { - this._super(element, model, template); + var submodel = model.contentModels['xml']; + this._super(element, submodel, template); + this.parent = parent; + this.buttonToolbar = new ButtonToolbarView( $('.xmlview-toolbar', this.element), this.model.toolbarButtonsModel, parent);