Fix editor to work with “base_url”
This commit is contained in:
@@ -269,7 +269,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// attempt to load the definition for this language
|
// 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({
|
$.ajax({
|
||||||
url: script_uri,
|
url: script_uri,
|
||||||
dataType: 'script',
|
dataType: 'script',
|
||||||
|
|||||||
Reference in New Issue
Block a user