From d9c5b3bceef42f269e16c6d2f2b4a4ad29f7882d Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 18 Sep 2015 06:18:31 -0400 Subject: #1659 fix change label title resets color --- routers/repo/issue.go | 1 + 1 file changed, 1 insertion(+) (limited to 'routers/repo') diff --git a/routers/repo/issue.go b/routers/repo/issue.go index cc344bd080..6912a2faf2 100644 --- a/routers/repo/issue.go +++ b/routers/repo/issue.go @@ -904,6 +904,7 @@ func UpdateLabel(ctx *middleware.Context, form auth.CreateLabelForm) { return } + fmt.Println(form.Title, form.Color) l.Name = form.Title l.Color = form.Color if err := models.UpdateLabel(l); err != nil { -- cgit v1.2.3