Commit a881de91 authored by Phil Hughes's avatar Phil Hughes

Removes disable on dropdowns after successful request

parent 26f32aff
......@@ -102,11 +102,11 @@
const $btn = $(e.currentTarget);
const { $memberListItem, $toggle, $dateInput } = this.getMemberListItems($btn);
this.showLDAPPermissionsWarning(e);
$toggle.removeAttr('disabled');
$dateInput.removeAttr('disabled');
this.overrideLdap($memberListItem, $btn.data('endpoint'), true);
this.overrideLdap($memberListItem, $btn.data('endpoint'), true).then(() => {
this.showLDAPPermissionsWarning(e);
$toggle.removeAttr('disabled');
$dateInput.removeAttr('disabled');
});
}
overrideLdap($memberListitem, endpoint, override) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment