Add exclude filter for ajax call
This commit is contained in:
parent
ed0de11c75
commit
1f7046dfd7
@ -216,7 +216,7 @@ module Additionals
|
|||||||
partial: 'additionals/select2_ajax_call.js',
|
partial: 'additionals/select2_ajax_call.js',
|
||||||
formats: [:js],
|
formats: [:js],
|
||||||
locals: { field_id: sanitize_to_id(name),
|
locals: { field_id: sanitize_to_id(name),
|
||||||
ajax_url: send("auto_complete_#{type}_path", project_id: @project),
|
ajax_url: send("auto_complete_#{type}_path", project_id: @project, user_id: options[:user_id]),
|
||||||
options: options })
|
options: options })
|
||||||
safe_join(s)
|
safe_join(s)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user