summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/gl_dropdown.js
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-01-04 13:16:14 +0000
committerPhil Hughes <me@iamphill.com>2017-02-06 09:24:50 +0000
commitdf6f6e316a1633275f88b4bdd4fb01978fce7572 (patch)
treec3a3efc6ae6d3ebeb7f1c7135087d17a6e807ef6 /app/assets/javascripts/gl_dropdown.js
parentb138ec3da18a68b34fd446a442b2c7db653848b6 (diff)
downloadgitlab-ce-df6f6e316a1633275f88b4bdd4fb01978fce7572.tar.gz
Replaced more jQuery UI datepickers
Diffstat (limited to 'app/assets/javascripts/gl_dropdown.js')
-rw-r--r--app/assets/javascripts/gl_dropdown.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/assets/javascripts/gl_dropdown.js b/app/assets/javascripts/gl_dropdown.js
index d9101b55c7f..77fa662892a 100644
--- a/app/assets/javascripts/gl_dropdown.js
+++ b/app/assets/javascripts/gl_dropdown.js
@@ -437,7 +437,7 @@
}
};
- GitLabDropdown.prototype.opened = function() {
+ GitLabDropdown.prototype.opened = function(e) {
var contentHtml;
this.resetRows();
this.addArrowKeyEvent();
@@ -457,6 +457,10 @@
this.positionMenuAbove();
}
+ if (this.options.opened) {
+ this.options.opened.call(this, e);
+ }
+
return this.dropdown.trigger('shown.gl.dropdown');
};