Merge branch 'develop' of github.com:martini/zammad into develop
This commit is contained in:
commit
2cea7d804b
3 changed files with 2 additions and 4 deletions
|
@ -1051,7 +1051,7 @@ class App.ControllerForm extends App.Controller
|
||||||
$( item[0] ).on('focus', ->
|
$( item[0] ).on('focus', ->
|
||||||
visible = $( item[0] ).is(":visible")
|
visible = $( item[0] ).is(":visible")
|
||||||
if visible && !$( item[0] ).expanding('active')
|
if visible && !$( item[0] ).expanding('active')
|
||||||
$( item[0] ).expanding()
|
$( item[0] ).expanding().focus()
|
||||||
)
|
)
|
||||||
App.Delay.set( a, 80 )
|
App.Delay.set( a, 80 )
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,6 @@ class SearchController < ApplicationController
|
||||||
limit: limit,
|
limit: limit,
|
||||||
current_user: current_user,
|
current_user: current_user,
|
||||||
)
|
)
|
||||||
user_result = []
|
|
||||||
users.each do |user|
|
users.each do |user|
|
||||||
item = {
|
item = {
|
||||||
id: user.id,
|
id: user.id,
|
||||||
|
@ -50,7 +49,6 @@ class SearchController < ApplicationController
|
||||||
current_user: current_user,
|
current_user: current_user,
|
||||||
)
|
)
|
||||||
|
|
||||||
organization_result = []
|
|
||||||
organizations.each do |organization|
|
organizations.each do |organization|
|
||||||
item = {
|
item = {
|
||||||
id: organization.id,
|
id: organization.id,
|
||||||
|
|
|
@ -304,7 +304,7 @@ module Import::OTRS
|
||||||
|
|
||||||
result = request_json({})
|
result = request_json({})
|
||||||
if !result['Success']
|
if !result['Success']
|
||||||
'API key not valid!'
|
fail 'API key not valid!'
|
||||||
end
|
end
|
||||||
|
|
||||||
# set settings
|
# set settings
|
||||||
|
|
Loading…
Reference in a new issue