Fixed classes applied to issue on priority change (domSelectStatus.val() -> domSelectPriorities.val())

This commit is contained in:
Leviscus Tempris 2019-02-25 10:26:54 -05:00
parent 26684a2dd9
commit bc4cca84c9

View File

@ -378,7 +378,7 @@ function initEditFieldListeners()
/* update the classes priority from */ /* update the classes priority from */
$("#content > div.issue").removeClass(function (index, className) { $("#content > div.issue").removeClass(function (index, className) {
return (className.match (/(^|\s)priority-\S+/g) || []).join(' '); return (className.match (/(^|\s)priority-\S+/g) || []).join(' ');
}).addClass('priority-' + domSelectStatus.val()); }).addClass('priority-' + domSelectPriorities.val());
}); /* end on change domSelectPriorities */ }); /* end on change domSelectPriorities */
var domSelectUsers = $('body').find('#usersListDropdown select'); var domSelectUsers = $('body').find('#usersListDropdown select');