X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/a3a778ec7c2fe89c4cb48f42be3b0821530199d8..9a96182c20b31868159f4ddd25bbb46abc4173e3:/project/static/js/views/xml.js 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%'});