[FIX] web: do_action in target='new': specify Dialog size
Instantiate the Dialog with the optional dialog_size specified in the action's context.
This commit is contained in:
@@ -701,7 +701,8 @@ var ActionManager = Widget.extend({
|
||||
this.dialog = new Dialog(this, {
|
||||
title: executor.action.name,
|
||||
dialogClass: executor.klass,
|
||||
buttons: []
|
||||
buttons: [],
|
||||
size: executor.action.context.dialog_size,
|
||||
});
|
||||
|
||||
// chain on_close triggers with previous dialog, if any
|
||||
|
||||
Reference in New Issue
Block a user