From 42f7d61a491f7a18677b908d43429bc26d796a50 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Fri, 12 Jun 2015 16:40:57 +0930 Subject: [PATCH] Add a separator above the delete control --- framework/core/js/forum/src/initializers/discussion-controls.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/framework/core/js/forum/src/initializers/discussion-controls.js b/framework/core/js/forum/src/initializers/discussion-controls.js index 1b1a031fd..57d076836 100644 --- a/framework/core/js/forum/src/initializers/discussion-controls.js +++ b/framework/core/js/forum/src/initializers/discussion-controls.js @@ -87,6 +87,8 @@ export default function(app) { } if (this.canDelete()) { + items.add('separator', Separator.component()); + items.add('delete', ActionButton.component({ icon: 'times', label: 'Delete', onclick: this.deleteAction.bind(this) })); }