Merge branch 'froggiefab-pr-ajaxcallback'

This commit is contained in:
Josh Johnson 2016-09-29 14:21:54 +01:00
commit dc94ff9ded
4 changed files with 462 additions and 430 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1082,7 +1082,7 @@ export default class Choices {
this._handleLoadingState(false);
// Add each result as a choice
parsedResults.forEach((result) => {
this._addChoice(false, false, result[value], result[label]);
this._addChoice(!!result.selected, !!result.disabled, result[value], result[label]);
});
}
this.containerOuter.removeAttribute('aria-busy');