[FIX] fix problem of close popup in actio type of ir_actions_report_xml.
bzr revid: ysa@tinyerp.com-20111121091451-i9lvmv6yibys17vp
This commit is contained in:
parent
9d1e3b7534
commit
7ec009c0ba
|
@ -155,12 +155,14 @@ session.web.ActionManager = session.web.Widget.extend({
|
|||
self.session.get_file({
|
||||
url: '/web/report',
|
||||
data: {action: JSON.stringify(action)},
|
||||
complete: $.unblockUI
|
||||
});
|
||||
if (!self.dialog && on_closed) {
|
||||
on_closed();
|
||||
}
|
||||
self.dialog_stop();
|
||||
complete: $.unblockUI,
|
||||
success: function(){
|
||||
if (!self.dialog && on_closed) {
|
||||
on_closed();
|
||||
}
|
||||
self.dialog_stop();
|
||||
}
|
||||
})
|
||||
});
|
||||
},
|
||||
ir_actions_act_url: function (action) {
|
||||
|
|
Loading…
Reference in New Issue