diff options
author | Phil Hughes <me@iamphill.com> | 2017-01-04 16:16:14 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-02-06 12:24:50 +0300 |
commit | df6f6e316a1633275f88b4bdd4fb01978fce7572 (patch) | |
tree | c3a3efc6ae6d3ebeb7f1c7135087d17a6e807ef6 /app/assets/javascripts/gl_dropdown.js | |
parent | b138ec3da18a68b34fd446a442b2c7db653848b6 (diff) |
Replaced more jQuery UI datepickers
Diffstat (limited to 'app/assets/javascripts/gl_dropdown.js')
-rw-r--r-- | app/assets/javascripts/gl_dropdown.js | 6 |
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'); }; |