X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/a3a778ec7c2fe89c4cb48f42be3b0821530199d8..3913c541b2e25e10d9c80feef9d32b80d2bad82b:/project/static/js/views/xml.js?ds=sidebyside diff --git a/project/static/js/views/xml.js b/project/static/js/views/xml.js index 20e2ee98..caafa715 100644 --- a/project/static/js/views/xml.js +++ b/project/static/js/views/xml.js @@ -35,7 +35,9 @@ var XMLView = View.extend({ $('.xmlview', this.element).height(height); }, - reload: function() {}, + reload: function() { + this.model.load(true); + }, editorDidLoad: function(editor) { $(editor.frame).css({width: '100%', height: '100%'});