forked from extern/egroupware
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
|
// 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