Merge pull request #43 from Tempris/master

Fixed classes applied to issue on priority change
This commit is contained in:
Hugo Zilliox 2019-04-13 13:25:42 +02:00 committed by GitHub
commit 8aa104b7ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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');