From f9f061cab006c95dec8e972ce3989a0215756a81 Mon Sep 17 00:00:00 2001 From: zuber Date: Tue, 5 Jan 2010 01:36:38 +0100 Subject: [PATCH] Dalsze poprawnienie URLi w JS. --- platforma/static/js/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }, -- 2.20.1