X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/a3a778ec7c2fe89c4cb48f42be3b0821530199d8..090fa209bd92925fbd407b8c3e7c996f5762fd3f:/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%'});