From 5c87fcc877f3f0bf0e9e5180cbd100d67b85898e Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Wed, 5 Oct 2022 12:37:31 +0200 Subject: [PATCH] Use synchronous AJAX requests --- res/sfs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/sfs.js b/res/sfs.js index 7113bed..f67ca13 100644 --- a/res/sfs.js +++ b/res/sfs.js @@ -214,7 +214,7 @@ param['approach'] = 'function'; } - const posting = $.get(mw.config.get('wgScriptPath') + "/api.php", param); + const posting = $.ajax(mw.config.get('wgScriptPath') + "/api.php", {data: param, async: false}); posting.done(function (data) { // Let's pass values setDependentValues(srcName, sfsObject, data["sformsselect"].values);