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