[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:
Aaron Bohy
2016-11-07 10:25:50 +01:00
parent 99743cc4aa
commit 3555625990
+2 -1
View File
@@ -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