Skip to content
Snippets Groups Projects
Commit adc83d25 authored by Fatih Acet's avatar Fatih Acet
Browse files

Merge branch 'ce-11194-fix-approvals-groups-all-available' into 'master'

Add close_select2 method to select2_helper

See merge request gitlab-org/gitlab-ce!27981
parents 0a7c9660 ecc25270
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -35,6 +35,10 @@ module Select2Helper
execute_script("$('#{selector}').select2('open');")
end
 
def close_select2(selector)
execute_script("$('#{selector}').select2('close');")
end
def scroll_select2_to_bottom(selector)
evaluate_script "$('#{selector}').scrollTop($('#{selector}')[0].scrollHeight); $('#{selector}');"
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment