#1659 fix change label title resets color

This commit is contained in:
Unknwon 2015-09-18 06:18:31 -04:00
parent 86d3c5cbb3
commit d9c5b3bcee
4 changed files with 4 additions and 2 deletions

View file

@ -238,6 +238,7 @@ function initRepository() {
$('.edit-label-button').click(function () {
$('#label-modal-id').val($(this).data('id'));
$('.edit-label .new-label-input').val($(this).data('title'));
$('.edit-label .color-picker').val($(this).data('color'));
$('.minicolors-swatch-color').css("background-color", $(this).data('color'));
$('.edit-label.modal').modal({
onApprove: function () {