Commit 70d5493e authored by Alfredo Sumaran's avatar Alfredo Sumaran Committed by Phil Hughes

Remove unnecesary update.label event

parent 9947e699
...@@ -217,7 +217,6 @@ class GitLabDropdown ...@@ -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
......
...@@ -52,7 +52,6 @@ issuable_created = false ...@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment