Commit 5cb93147 authored by joseph.olstad's avatar joseph.olstad

Issue #958730 by joseph.olstad: ajax call needs path prefix with i18n

parent 216bed3a
......@@ -1162,8 +1162,10 @@ Lightbox = {
filterXSS: function(str, allowed_tags) {
var output = "";
var prefix = Drupal.settings.pathPrefix;
if (!prefix) prefix = '';
$.ajax({
url: Drupal.settings.basePath + '?q=system/lightbox2/filter-xss',
url: Drupal.settings.basePath + prefix + '?q=system/lightbox2/filter-xss',
data: {
'string' : str,
'allowed_tags' : allowed_tags
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment