Do not run draft auto save if any of the tags are in edit mode

This commit is contained in:
Hadi Nategh 2018-06-21 14:20:52 +02:00
parent 14bbfe9dfa
commit 9301a9c5b1

View File

@ -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 (){
if (jQuery('.ms-editor-wrap').length === 0)
{
that.saveAsDraft(null, 'autosaving');
}
}, 120000));
/* Control focus actions on subject to handle expanders properly.*/