summaryrefslogtreecommitdiffstats
path: root/apps/comments/js/commentsmodifymenu.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/comments/js/commentsmodifymenu.js')
-rw-r--r--apps/comments/js/commentsmodifymenu.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/comments/js/commentsmodifymenu.js b/apps/comments/js/commentsmodifymenu.js
index 1c5f572d8cc..4b17cbbfbf0 100644
--- a/apps/comments/js/commentsmodifymenu.js
+++ b/apps/comments/js/commentsmodifymenu.js
@@ -7,12 +7,14 @@
* See the COPYING-README file.
*
*/
+
+/* global Handlebars */
(function() {
var TEMPLATE_MENU =
'<ul>' +
'{{#each items}}' +
'<li>' +
- '<a href="#" class="menuitem action action-{{name}} permanent" data-action="{{name}}">' +
+ '<a href="#" class="menuitem action {{name}} permanent" data-action="{{name}}">' +
'{{#if iconClass}}' +
'<span class="icon {{iconClass}}"></span>' +
'{{else}}' +
@@ -64,7 +66,7 @@
}
OC.hideMenus();
-
+
this.trigger('select:menu-item-clicked', event, $target.data('action'));
},
@@ -119,4 +121,4 @@
OCA.Comments = OCA.Comments || {};
OCA.Comments.CommentsModifyMenu = CommentsModifyMenu;
-})(OC, OCA);; \ No newline at end of file
+})(OC, OCA); \ No newline at end of file