diff --git a/apps/spreadsheeteditor/mobile/app/controller/DocumentHolder.js b/apps/spreadsheeteditor/mobile/app/controller/DocumentHolder.js index c5b3d5f98..6d8b865f9 100644 --- a/apps/spreadsheeteditor/mobile/app/controller/DocumentHolder.js +++ b/apps/spreadsheeteditor/mobile/app/controller/DocumentHolder.js @@ -127,6 +127,10 @@ define([ }, onApiShowPopMenu: function(posX, posY) { + if ($('.popover.settings, .popup.settings, .picker-modal.settings').length > 0) { + return; + } + var me = this, items; diff --git a/apps/spreadsheeteditor/mobile/app/controller/Main.js b/apps/spreadsheeteditor/mobile/app/controller/Main.js index 71d3bbf67..c2c650443 100644 --- a/apps/spreadsheeteditor/mobile/app/controller/Main.js +++ b/apps/spreadsheeteditor/mobile/app/controller/Main.js @@ -537,7 +537,7 @@ define([ } else { value = 0; } - // me.api.asc_setAutoSaveGap(value); + me.api.asc_setAutoSaveGap(value); if (me.needToUpdateVersion) { Common.NotificationCenter.trigger('api:disconnect'); diff --git a/apps/spreadsheeteditor/mobile/app/controller/Settings.js b/apps/spreadsheeteditor/mobile/app/controller/Settings.js index 1ae9666f9..fc51dc578 100644 --- a/apps/spreadsheeteditor/mobile/app/controller/Settings.js +++ b/apps/spreadsheeteditor/mobile/app/controller/Settings.js @@ -95,6 +95,8 @@ define([ }, showModal: function() { + uiApp.closeModal(); + if (Common.SharedSettings.get('phone')) { modalView = uiApp.popup( '