Add focus to tag input in detail page when adding tags
parent
c4fc81ba31
commit
d3fb44d441
|
@ -281,8 +281,8 @@ TagLineDirective = ($rootScope, $repo, $rs, $confirm) ->
|
|||
showSaveButton = -> $el.find(".save").removeClass("hidden")
|
||||
hideSaveButton = -> $el.find(".save").addClass("hidden")
|
||||
|
||||
showInput = -> $el.find("input").removeClass("hidden")
|
||||
hideInput = -> $el.find("input").addClass("hidden")
|
||||
showInput = -> $el.find("input").removeClass("hidden").focus()
|
||||
hideInput = -> $el.find("input").addClass("hidden").blur()
|
||||
resetInput = ->
|
||||
$el.find("input").val("")
|
||||
$el.find("input").autocomplete("close")
|
||||
|
|
Loading…
Reference in New Issue