fix #1741 - remove tag field before open lightbox
parent
02faf9c2ee
commit
c6ed21eca5
|
@ -259,6 +259,7 @@ CreateEditUserstoryDirective = ($repo, $model, $rs, $rootScope, lightboxService,
|
|||
# Update texts for creation
|
||||
$el.find(".button-green span").html("Create") #TODO: i18n
|
||||
$el.find(".title").html("New user story ") #TODO: i18n
|
||||
$el.find(".tag-input").val("")
|
||||
|
||||
$el.find(".blocked-note").addClass("hidden")
|
||||
$el.find("label.blocked").removeClass("selected")
|
||||
|
@ -274,6 +275,7 @@ CreateEditUserstoryDirective = ($repo, $model, $rs, $rootScope, lightboxService,
|
|||
# Update texts for edition
|
||||
$el.find(".button-green span").html("Save") #TODO: i18n
|
||||
$el.find(".title").html("Edit user story ") #TODO: i18n
|
||||
$el.find(".tag-input").val("")
|
||||
|
||||
# Update requirement info (team, client or blocked)
|
||||
if us.is_blocked
|
||||
|
|
|
@ -35,6 +35,8 @@ CreateIssueDirective = ($repo, $confirm, $rootscope, lightboxService, $loading)
|
|||
$scope.issue = {}
|
||||
|
||||
$scope.$on "issueform:new", (ctx, project)->
|
||||
$el.find(".tag-input").val("")
|
||||
|
||||
lightboxService.open($el)
|
||||
|
||||
$scope.issue = {
|
||||
|
|
|
@ -42,6 +42,8 @@ CreateEditTaskDirective = ($repo, $model, $rs, $rootscope, $loading, lightboxSer
|
|||
# Update texts for creation
|
||||
$el.find(".button-green span").html("Create") #TODO: i18n
|
||||
$el.find(".title").html("New task ") #TODO: i18n
|
||||
$el.find(".tag-input").val("")
|
||||
|
||||
lightboxService.open($el)
|
||||
|
||||
$scope.$on "taskform:edit", (ctx, task) ->
|
||||
|
@ -51,6 +53,8 @@ CreateEditTaskDirective = ($repo, $model, $rs, $rootscope, $loading, lightboxSer
|
|||
# Update texts for edition
|
||||
$el.find(".button-green span").html("Save") #TODO: i18n
|
||||
$el.find(".title").html("Edit task ") #TODO: i18n
|
||||
$el.find(".tag-input").val("")
|
||||
|
||||
lightboxService.open($el)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue