Show screen buttons when clicking action button

changeset c6408fc51ada replaced navbar items with buttons, so the screen
buttons must be read when the button is clicked.

issue6252
review29971002
This commit is contained in:
Sergi Almacellas Abellana
2017-02-08 16:58:27 +01:00
parent ff588490d1
commit 3ab28d5fe6
+1 -1
View File
@@ -430,7 +430,7 @@
});
var menu = button.find('ul[role*="menu"]');
if (menu_action[0] == 'action') {
button.find('a').click(function() {
button.click(function() {
menu.find('.action_button').remove();
var buttons = screen.get_buttons();
buttons.forEach(function(button) {