X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/3193141f55df20910cf8ba35f9e669d79c90d3f4..2fc23bdb4ec0198ab47ce73e7b5287375ae68a12:/platforma/static/js/views/xml.js?ds=sidebyside diff --git a/platforma/static/js/views/xml.js b/platforma/static/js/views/xml.js index 5c184321..6f0b6fa6 100644 --- a/platforma/static/js/views/xml.js +++ b/platforma/static/js/views/xml.js @@ -29,8 +29,8 @@ var XMLView = View.extend({ this.editor = new CodeMirror($('.xmlview', this.element).get(0), { parserfile: 'parsexml.js', - path: "/static/js/lib/codemirror/", - stylesheet: "/static/css/xmlcolors.css", + path: documentInfo.staticURL + "js/lib/codemirror/", + stylesheet: documentInfo.staticURL + "css/xmlcolors.css", parserConfig: { useHTMLKludges: false },