Fix editor to work with “base_url”

This commit is contained in:
Jean-Philippe Garcia Ballester
2012-07-24 23:51:49 +02:00
parent 7c180c86a4
commit 88ed662fd4
@@ -269,7 +269,7 @@
}
// attempt to load the definition for this language
var script_uri = '/javascript/editor/langs/' + markup_name + '.js';
var script_uri = baseUrl + '/javascript/editor/langs/' + markup_name + '.js';
$.ajax({
url: script_uri,
dataType: 'script',