[FIX] When reaching ir_actions_act_window_close without dialog, call on_closed if any
The static homepage do not reload the page when the module installed have no configuration actions (eg: returning direcly ir_actions_act_window_close) bzr revid: fme@openerp.com-20111005101714-s5jy3gslni00a5jo
This commit is contained in:
parent
d13fb7fe7e
commit
19b7493711
|
@ -116,6 +116,9 @@ db.web.ActionManager = db.web.Widget.extend({
|
|||
*/
|
||||
},
|
||||
ir_actions_act_window_close: function (action, on_closed) {
|
||||
if (!this.dialog && on_closed) {
|
||||
on_closed();
|
||||
}
|
||||
this.dialog_stop();
|
||||
},
|
||||
ir_actions_server: function (action, on_closed) {
|
||||
|
|
Loading…
Reference in New Issue