Skip to content
Snippets Groups Projects
Commit 70d5493e authored by Alfredo Sumaran's avatar Alfredo Sumaran Committed by Phil Hughes
Browse files

Remove unnecesary update.label event

parent 9947e699
Branches
Tags
1 merge request!5293Updated issuable form with GL dropdowns
Loading
@@ -217,7 +217,6 @@ class GitLabDropdown
Loading
@@ -217,7 +217,6 @@ class GitLabDropdown
   
@dropdown.on "shown.bs.dropdown", @opened @dropdown.on "shown.bs.dropdown", @opened
@dropdown.on "hidden.bs.dropdown", @hidden @dropdown.on "hidden.bs.dropdown", @hidden
$(@el).on "update.label", @updateLabel
@dropdown.on "click", ".dropdown-menu, .dropdown-menu-close", @shouldPropagate @dropdown.on "click", ".dropdown-menu, .dropdown-menu-close", @shouldPropagate
@dropdown.on 'keyup', (e) => @dropdown.on 'keyup', (e) =>
if e.which is 27 # Escape key if e.which is 27 # Escape key
Loading
Loading
Loading
@@ -52,7 +52,6 @@ issuable_created = false
Loading
@@ -52,7 +52,6 @@ issuable_created = false
   
# Submit the form to get new data # Submit the form to get new data
Issuable.filterResults $('.filter-form') Issuable.filterResults $('.filter-form')
$('.js-label-select').trigger('update.label')
   
filterResults: (form) => filterResults: (form) =>
formData = form.serialize() formData = form.serialize()
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment