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"
|
||||
@$('.js-newTagInput').autocomplete(
|
||||
source: source
|
||||
minLength: 2
|
||||
minLength: 0
|
||||
response: (e, ui) =>
|
||||
return if !ui
|
||||
return if !ui.content
|
||||
|
@ -68,6 +68,7 @@ class App.WidgetTag extends App.Controller
|
|||
e.preventDefault()
|
||||
@newTagLabel.addClass('hide')
|
||||
@newTagInput.removeClass('hide').focus()
|
||||
@newTagInput.trigger(jQuery.Event('keydown'))
|
||||
@editMode = true
|
||||
|
||||
hideAndAddInput: =>
|
||||
|
|
Loading…
Reference in a new issue