[IMP] attachement: remove unnecessary redraw added at rev 4128 and change message to be the same than in mail
bzr revid: mat@openerp.com-20140131102836-e89xo4nrwk32uij8
This commit is contained in:
parent
ff8f5104b1
commit
23de024718
|
@ -1217,8 +1217,7 @@ instance.web.Sidebar = instance.web.Widget.extend({
|
|||
this.dataset = dataset;
|
||||
this.model_id = model_id;
|
||||
if (args && args[0].error) {
|
||||
this.do_warn(_t('Upload Error'), args[0].error);
|
||||
self.redraw();
|
||||
this.do_warn(_t('Uploading Error'), args[0].error);
|
||||
}
|
||||
if (!model_id) {
|
||||
this.on_attachments_loaded([]);
|
||||
|
|
Loading…
Reference in New Issue