mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-19 13:10:58 +01:00
Fix save as draft confirmation message does not disappear after a while
This commit is contained in:
parent
62cacc922d
commit
055c9f8966
@ -3216,17 +3216,17 @@ app.classes.mail = AppJS.extend(
|
|||||||
{
|
{
|
||||||
opener.egw_refresh(_responseData.message,'mail', prevDraftedId, 'delete');
|
opener.egw_refresh(_responseData.message,'mail', prevDraftedId, 'delete');
|
||||||
}
|
}
|
||||||
this.egw.refresh(_responseData.message,'mail',_responseData.draftedId,'add');
|
this.egw.refresh(_responseData.message,'mail',_responseData.draftedId);
|
||||||
switch (_action)
|
switch (_action)
|
||||||
{
|
{
|
||||||
case 'button[saveAsDraftAndPrint]':
|
case 'button[saveAsDraftAndPrint]':
|
||||||
this.mail_compose_print('mail::'+_responseData.draftedId);
|
this.mail_compose_print('mail::'+_responseData.draftedId);
|
||||||
this.egw.message(_responseData.message, 'add');
|
this.egw.message(_responseData.message);
|
||||||
break;
|
break;
|
||||||
case 'autosaving':
|
case 'autosaving':
|
||||||
//Any sort of thing if it's an autosaving action
|
//Any sort of thing if it's an autosaving action
|
||||||
default:
|
default:
|
||||||
this.egw.message(_responseData.message, 'add');
|
this.egw.message(_responseData.message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user