Merge branch 'private-pull-request-1499' into develop
This commit is contained in:
commit
bb057277ff
1 changed files with 2 additions and 1 deletions
|
@ -56,7 +56,7 @@ class App.WidgetTag extends App.Controller
|
||||||
source = "#{App.Config.get('api_path')}/tag_search"
|
source = "#{App.Config.get('api_path')}/tag_search"
|
||||||
@$('.js-newTagInput').autocomplete(
|
@$('.js-newTagInput').autocomplete(
|
||||||
source: source
|
source: source
|
||||||
minLength: 2
|
minLength: 0
|
||||||
response: (e, ui) =>
|
response: (e, ui) =>
|
||||||
return if !ui
|
return if !ui
|
||||||
return if !ui.content
|
return if !ui.content
|
||||||
|
@ -68,6 +68,7 @@ class App.WidgetTag extends App.Controller
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
@newTagLabel.addClass('hide')
|
@newTagLabel.addClass('hide')
|
||||||
@newTagInput.removeClass('hide').focus()
|
@newTagInput.removeClass('hide').focus()
|
||||||
|
@newTagInput.trigger(jQuery.Event('keydown'))
|
||||||
@editMode = true
|
@editMode = true
|
||||||
|
|
||||||
hideAndAddInput: =>
|
hideAndAddInput: =>
|
||||||
|
|
Loading…
Reference in a new issue