From 051ad0c99cc50dce306994d0b44d6a225cab9c49 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 28 Apr 2016 13:51:22 +0300 Subject: [PATCH] Bug 32323 --- apps/documenteditor/main/app/controller/Main.js | 4 ++-- apps/presentationeditor/main/app/controller/Main.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/documenteditor/main/app/controller/Main.js b/apps/documenteditor/main/app/controller/Main.js index c48d19e43..2726344c2 100644 --- a/apps/documenteditor/main/app/controller/Main.js +++ b/apps/documenteditor/main/app/controller/Main.js @@ -545,12 +545,12 @@ define([ var me = this; if (me._state.timerSave===undefined) me._state.timerSave = setInterval(function(){ - if ((new Date()) - me._state.isSaving>2000) { + if ((new Date()) - me._state.isSaving>500) { clearInterval(me._state.timerSave); me.getApplication().getController('Statusbar').setStatusCaption(''); me._state.timerSave = undefined; } - }, 2000); + }, 500); } else this.getApplication().getController('Statusbar').setStatusCaption(''); } diff --git a/apps/presentationeditor/main/app/controller/Main.js b/apps/presentationeditor/main/app/controller/Main.js index c8d551d05..9c73e3730 100644 --- a/apps/presentationeditor/main/app/controller/Main.js +++ b/apps/presentationeditor/main/app/controller/Main.js @@ -371,12 +371,12 @@ define([ var me = this; if (me._state.timerSave===undefined) me._state.timerSave = setInterval(function(){ - if ((new Date()) - me._state.isSaving>2000) { + if ((new Date()) - me._state.isSaving>500) { clearInterval(me._state.timerSave); me.getApplication().getController('Statusbar').setStatusCaption(''); me._state.timerSave = undefined; } - }, 2000); + }, 500); } else this.getApplication().getController('Statusbar').setStatusCaption(''); }