MDL-66312 js: Autocomplete promises were inside out
commit39f22c5f7d8181417a8760a7dafe9513134051a5
authorAndrew Nicols <andrew@nicols.co.uk>
Fri, 16 Aug 2019 03:04:11 +0000 (16 11:04 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Fri, 16 Aug 2019 03:40:15 +0000 (16 11:40 +0800)
tree856ed3c36bc68301efd219b79691426871de8f72
parent5a0c850e50ffe5ce82570361673ed1c3504f0055
MDL-66312 js: Autocomplete promises were inside out

The pending promise should nott be resolved until the changes are
complete.
Previously the resolution of the pendingPromise was triggering the other
changes.
lib/amd/build/form-autocomplete.min.js
lib/amd/src/form-autocomplete.js