Clear PMS selectize when dropdown opens

This commit is contained in:
JonnyWong16 2018-03-25 11:00:58 -07:00
commit d8298a12eb
2 changed files with 6 additions and 0 deletions

View file

@ -374,6 +374,9 @@ $(document).ready(function() {
$('#pms_is_remote_checkbox').prop('disabled', false);
$('#pms_ssl_checkbox').prop('disabled', false);
}
},
onDropdownOpen: function() {
this.clear();
}
});
var select_pms = $select_pms[0].selectize;