diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-11-24 16:59:14 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-11-24 16:59:14 +0800 |
commit | 71e70b2ef185da3a3d8f0a17463b4a8c68e6bd43 (patch) | |
tree | d34a223172f60cde4a24f2f232a9a82495c29fc3 /fg21sim/webui/templates/header.html | |
parent | ef4ffe1c5cb865e20b236192e1acf15fb36e4eed (diff) | |
download | fg21sim-71e70b2ef185da3a3d8f0a17463b4a8c68e6bd43.tar.bz2 |
webui: Replace jQuery.when() with jQuery.Deferred's .then()
Note that jQuery.when() can NOT promise the ordering of the passed
Deferred's. Therefore, chain multiple AJAX requests using ".then()" and
".done()" to keep them ordered.
This fixes the configurations loading problem on IE (v11), which calls
the "when()" arguments in different orders as Firefox and Chromium, thus
leads to the wrong results.
Diffstat (limited to 'fg21sim/webui/templates/header.html')
0 files changed, 0 insertions, 0 deletions