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