From 69e453ea0bba7a577b5b1aebd8ff283c70b630ce Mon Sep 17 00:00:00 2001 From: bootstraponline Date: Mon, 6 Aug 2012 14:28:24 -0600 Subject: [PATCH] Base path is relative. --- .../frontend/public/gollum/javascript/editor/gollum.editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gollum/frontend/public/gollum/javascript/editor/gollum.editor.js b/lib/gollum/frontend/public/gollum/javascript/editor/gollum.editor.js index bba3faa7..100507b5 100755 --- a/lib/gollum/frontend/public/gollum/javascript/editor/gollum.editor.js +++ b/lib/gollum/frontend/public/gollum/javascript/editor/gollum.editor.js @@ -277,7 +277,7 @@ } // attempt to load the definition for this language - var script_uri = baseUrl + '/javascript/editor/langs/' + markup_name + '.js'; + var script_uri = '.' + baseUrl + '/javascript/editor/langs/' + markup_name + '.js'; $.ajax({ url: script_uri, dataType: 'script',