Skip to content

Commit

Permalink
Use synchronous AJAX requests
Browse files Browse the repository at this point in the history
  • Loading branch information
prudloff-insite committed Oct 3, 2023
1 parent 2999c1b commit 5c87fcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion res/sfs.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5c87fcc

Please sign in to comment.