diff --git a/core/misc/ajax.js b/core/misc/ajax.js index e65b2d8..20510c7 100644 --- a/core/misc/ajax.js +++ b/core/misc/ajax.js @@ -421,7 +421,7 @@ * Processed Ajax URL. * * @type {string} - */jqXHR, options + */ this.url = this.url.replace(/\/nojs(\/|$|\?|#)/g, '/ajax$1'); // If the 'nojs' version of the URL is trusted, also trust the 'ajax' // version.