From 972cad3f6f308b38bc5bc2807ef0084e71c20014 Mon Sep 17 00:00:00 2001 From: Jaap Wesdorp Date: Tue, 11 Oct 2016 17:33:04 +0200 Subject: [PATCH] Add current url to ajax requests in requestOptions --- modules/system/assets/js/framework.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/system/assets/js/framework.js b/modules/system/assets/js/framework.js index fba03a8b3..77b40938d 100644 --- a/modules/system/assets/js/framework.js +++ b/modules/system/assets/js/framework.js @@ -81,6 +81,7 @@ if (window.jQuery === undefined) data.push($.param(options.data)) var requestOptions = { + url : window.location.href, context: context, headers: { 'X-OCTOBER-REQUEST-HANDLER': handler,