diff options
author | Unknwon <u@gogs.io> | 2015-09-18 06:18:31 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-09-18 06:18:31 -0400 |
commit | d9c5b3bceef42f269e16c6d2f2b4a4ad29f7882d (patch) | |
tree | 7d0caaaa7d69d879b898c0086ba319f0cf886ef9 /public | |
parent | 86d3c5cbb3c8a500c08aa393a1b00aff754de31f (diff) | |
download | gitea-d9c5b3bceef42f269e16c6d2f2b4a4ad29f7882d.tar.gz gitea-d9c5b3bceef42f269e16c6d2f2b4a4ad29f7882d.zip |
#1659 fix change label title resets color
Diffstat (limited to 'public')
-rw-r--r-- | public/js/gogs.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/public/js/gogs.js b/public/js/gogs.js index 59cdf5d668..d38e8976f4 100644 --- a/public/js/gogs.js +++ b/public/js/gogs.js @@ -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 () { |