summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-07-18 12:53:42 -0500
committerPhil Hughes <me@iamphill.com>2016-07-20 10:48:02 +0100
commit70d5493e21fbdf21020c5cfcf67919d157bfb9db (patch)
treee4fe132a5ed063ece598026622a10ff480bc1c08 /app/assets
parent9947e69905a12a580e5ac7be7b2476b804d279ef (diff)
downloadgitlab-ce-70d5493e21fbdf21020c5cfcf67919d157bfb9db.tar.gz
Remove unnecesary update.label event
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/gl_dropdown.js.coffee1
-rw-r--r--app/assets/javascripts/issuable.js.coffee1
2 files changed, 0 insertions, 2 deletions
diff --git a/app/assets/javascripts/gl_dropdown.js.coffee b/app/assets/javascripts/gl_dropdown.js.coffee
index 6b8ceb6385a..b8b4c9458a8 100644
--- a/app/assets/javascripts/gl_dropdown.js.coffee
+++ b/app/assets/javascripts/gl_dropdown.js.coffee
@@ -217,7 +217,6 @@ class GitLabDropdown
@dropdown.on "shown.bs.dropdown", @opened
@dropdown.on "hidden.bs.dropdown", @hidden
- $(@el).on "update.label", @updateLabel
@dropdown.on "click", ".dropdown-menu, .dropdown-menu-close", @shouldPropagate
@dropdown.on 'keyup', (e) =>
if e.which is 27 # Escape key
diff --git a/app/assets/javascripts/issuable.js.coffee b/app/assets/javascripts/issuable.js.coffee
index 7f795f8096b..d12b9910222 100644
--- a/app/assets/javascripts/issuable.js.coffee
+++ b/app/assets/javascripts/issuable.js.coffee
@@ -52,7 +52,6 @@ issuable_created = false
# Submit the form to get new data
Issuable.filterResults $('.filter-form')
- $('.js-label-select').trigger('update.label')
filterResults: (form) =>
formData = form.serialize()