X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/3193141f55df20910cf8ba35f9e669d79c90d3f4..a2ddf506a8d76719f6e8a79e784b3f297128656e:/platforma/static/js/views/xml.js?ds=inline 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 },