From 25b2bb24cb0f44f02c71215d03ce03be5c321790 Mon Sep 17 00:00:00 2001 From: Jack Allnutt Date: Tue, 16 Jul 2013 17:17:17 +0100 Subject: [PATCH] Close context menu after clicking action. Fixes #332 --- client/assets/src/views/menubox.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/assets/src/views/menubox.js b/client/assets/src/views/menubox.js index 7dd9b0a..fdb568c 100644 --- a/client/assets/src/views/menubox.js +++ b/client/assets/src/views/menubox.js @@ -1,6 +1,6 @@ _kiwi.view.MenuBox = Backbone.View.extend({ events: { - 'click .ui_menu_foot .close': 'dispose' + 'click .ui_menu_foot .close, a': 'dispose' }, initialize: function(title) { @@ -104,4 +104,4 @@ _kiwi.view.MenuBox = Backbone.View.extend({ $(document).on('click', that._close_proxy); }, 0); } -}); \ No newline at end of file +}); -- 2.25.1