Dalsze poprawnienie URLi w JS.
authorzuber <marek@stepniowski.com>
Tue, 5 Jan 2010 00:36:38 +0000 (01:36 +0100)
committerzuber <marek@stepniowski.com>
Tue, 5 Jan 2010 00:36:38 +0000 (01:36 +0100)
platforma/static/js/main.js

index ddbe756..62ee8ff 100644 (file)
@@ -361,8 +361,8 @@ $(function() {
     
     CodeMirror.fromTextArea('id_text', {
         parserfile: 'parsexml.js',
     
     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
         },
         parserConfig: {
             useHTMLKludges: false
         },