From: zuber Date: Tue, 5 Jan 2010 00:36:38 +0000 (+0100) Subject: Dalsze poprawnienie URLi w JS. X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/f9f061cab006c95dec8e972ce3989a0215756a81?ds=inline Dalsze poprawnienie URLi w JS. --- diff --git a/platforma/static/js/main.js b/platforma/static/js/main.js index ddbe756b..62ee8ff6 100644 --- a/platforma/static/js/main.js +++ b/platforma/static/js/main.js @@ -361,8 +361,8 @@ $(function() { CodeMirror.fromTextArea('id_text', { parserfile: 'parsexml.js', - path: "/static/js/lib/codemirror/", - stylesheet: "/static/css/xmlcolors.css", + path: STATIC_URL + "js/lib/codemirror/", + stylesheet: STATIC_URL + "css/xmlcolors.css", parserConfig: { useHTMLKludges: false },