From 8a6af205d978daaa75d88075e69cb38187342f95 Mon Sep 17 00:00:00 2001 From: Julia Svinareva Date: Fri, 23 Aug 2019 15:55:30 +0300 Subject: [PATCH] [mobile] Bug 39380 --- apps/documenteditor/mobile/app/controller/Settings.js | 6 +++--- apps/presentationeditor/mobile/app/view/Settings.js | 6 +++--- apps/spreadsheeteditor/mobile/app/controller/Settings.js | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/apps/documenteditor/mobile/app/controller/Settings.js b/apps/documenteditor/mobile/app/controller/Settings.js index b21d471148..8269cbea5d 100644 --- a/apps/documenteditor/mobile/app/controller/Settings.js +++ b/apps/documenteditor/mobile/app/controller/Settings.js @@ -557,10 +557,10 @@ define([ if (url.charAt(url.length-1) !== '/') { url += '/'; } - if (Common.SharedSettings.get('android')) { - url+='mobile-applications/documents/android/index.aspx'; - } else if (Common.SharedSettings.get('sailfish')) { + if (Common.SharedSettings.get('sailfish')) { url+='mobile-applications/documents/sailfish/index.aspx'; + } else if (Common.SharedSettings.get('android')) { + url+='mobile-applications/documents/android/index.aspx'; } else { url+='mobile-applications/documents/index.aspx'; } diff --git a/apps/presentationeditor/mobile/app/view/Settings.js b/apps/presentationeditor/mobile/app/view/Settings.js index 5d8e3a08e2..dc92402466 100644 --- a/apps/presentationeditor/mobile/app/view/Settings.js +++ b/apps/presentationeditor/mobile/app/view/Settings.js @@ -184,10 +184,10 @@ define([ if (url.charAt(url.length-1) !== '/') { url += '/'; } - if (Common.SharedSettings.get('android')) { - url+='mobile-applications/documents/android/index.aspx'; - } else if (Common.SharedSettings.get('sailfish')) { + if (Common.SharedSettings.get('sailfish')) { url+='mobile-applications/documents/sailfish/index.aspx'; + } else if (Common.SharedSettings.get('android')) { + url+='mobile-applications/documents/android/index.aspx'; } else { url+='mobile-applications/documents/index.aspx'; } diff --git a/apps/spreadsheeteditor/mobile/app/controller/Settings.js b/apps/spreadsheeteditor/mobile/app/controller/Settings.js index 55153f7178..462a4eeb54 100644 --- a/apps/spreadsheeteditor/mobile/app/controller/Settings.js +++ b/apps/spreadsheeteditor/mobile/app/controller/Settings.js @@ -116,10 +116,10 @@ define([ if (url.charAt(url.length-1) !== '/') { url += '/'; } - if (Common.SharedSettings.get('android')) { - url+='mobile-applications/documents/android/index.aspx'; - } else if (Common.SharedSettings.get('sailfish')) { + if (Common.SharedSettings.get('sailfish')) { url+='mobile-applications/documents/sailfish/index.aspx'; + } else if (Common.SharedSettings.get('android')) { + url+='mobile-applications/documents/android/index.aspx'; } else { url+='mobile-applications/documents/index.aspx'; }