mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:31 +01:00
Do not run draft auto save if any of the tags are in edit mode
This commit is contained in:
parent
14bbfe9dfa
commit
9301a9c5b1
@ -247,7 +247,10 @@ app.classes.mail = AppJS.extend(
|
||||
|
||||
// Set autosaving interval to 2 minutes for compose message
|
||||
this.W_INTERVALS.push(window.setInterval(function (){
|
||||
that.saveAsDraft(null, 'autosaving');
|
||||
if (jQuery('.ms-editor-wrap').length === 0)
|
||||
{
|
||||
that.saveAsDraft(null, 'autosaving');
|
||||
}
|
||||
}, 120000));
|
||||
|
||||
/* Control focus actions on subject to handle expanders properly.*/
|
||||
|
Loading…
Reference in New Issue
Block a user