Fill buttons attribute with action, relate and print buttons
issue10410
This commit is contained in:
1 parent
48533a76d2
commit
df2c8989c1
1 file changed
+1
-2
+1
-2
@@ -513,7 +513,6 @@
|
||||
create_toolbar: function() {
|
||||
var toolbar = Sao.Tab.Form._super.create_toolbar.call(this);
|
||||
var screen = this.screen;
|
||||
var buttons = this.buttons;
|
||||
var prm = screen.model.execute('view_toolbar_get', [],
|
||||
screen.context);
|
||||
prm.done(function(toolbars) {
|
||||
@@ -552,7 +551,7 @@
|
||||
}))
|
||||
.insertBefore(toolbar.find('button#email'));
|
||||
var button = dropdown.find('button');
|
||||
buttons[menu_action[0]] = button;
|
||||
this.buttons[menu_action[0]] = button;
|
||||
dropdown
|
||||
.on('show.bs.dropdown', function() {
|
||||
jQuery(this).parents('.btn-group').removeClass(
|
||||
|
||||
Reference in new issue
Block a user