diff options
author | Abijeet <abijeetpatro@gmail.com> | 2018-03-04 11:36:33 +0530 |
---|---|---|
committer | Abijeet <abijeetpatro@gmail.com> | 2018-03-27 00:49:34 +0530 |
commit | 01c5a31a4ab04802ce4001e4e618d9812f83d69b (patch) | |
tree | 01fbac39567e20a5689123d863a0827cfaa08aa1 /apps/comments/js/commentsmodifymenu.js | |
parent | 6d2716dceb7791ef23f56510f9ceb29144b62dc1 (diff) | |
download | nextcloud-server-01c5a31a4ab04802ce4001e4e618d9812f83d69b.tar.gz nextcloud-server-01c5a31a4ab04802ce4001e4e618d9812f83d69b.zip |
Adds a tooltip for the submit / save button in comments.
Towards #7281
Also hiding the menu before triggering click action.
Signed-off-by: Abijeet <abijeetpatro@gmail.com>
Diffstat (limited to 'apps/comments/js/commentsmodifymenu.js')
-rw-r--r-- | apps/comments/js/commentsmodifymenu.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/comments/js/commentsmodifymenu.js b/apps/comments/js/commentsmodifymenu.js index bd777ba5fa6..1c5f572d8cc 100644 --- a/apps/comments/js/commentsmodifymenu.js +++ b/apps/comments/js/commentsmodifymenu.js @@ -63,9 +63,9 @@ $target = $target.closest('.menuitem'); } - this.trigger('select:menu-item-clicked', event, $target.data('action')); - OC.hideMenus(); + + this.trigger('select:menu-item-clicked', event, $target.data('action')); }, /** |