Merge branch 'private-pull-request-1499' into develop

This commit is contained in:
Thorsten Eckel 2017-10-17 11:11:45 +02:00
commit bb057277ff

View file

@ -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: =>