diff --git a/src/app/app.scss b/src/app/app.scss index 05557bc56..186461c52 100644 --- a/src/app/app.scss +++ b/src/app/app.scss @@ -873,6 +873,10 @@ ion-app.app-root { height: 100% !important; } + .core-modal-force-on-top { + z-index: 100000 !important; + } + @media only screen and (min-height: 400px) and (min-width: 300px) { .core-modal-lateral { @include core-split-area-end(); diff --git a/src/assets/lang/en.json b/src/assets/lang/en.json index 699eea430..71a709151 100644 --- a/src/assets/lang/en.json +++ b/src/assets/lang/en.json @@ -1374,6 +1374,7 @@ "core.cannotconnectverify": "Please check the address is correct.", "core.cannotdownloadfiles": "File downloading is disabled. Please contact your site administrator.", "core.cannotopeninapp": "This file may not work as expected on this device. Would you like to open it anyway?", + "core.cannotopeninappdownload": "This file may not work as expected on this device. Would you like to download it anyway?", "core.captureaudio": "Record audio", "core.capturedimage": "Taken picture.", "core.captureimage": "Take picture", @@ -1526,6 +1527,7 @@ "core.done": "Done", "core.download": "Download", "core.downloaded": "Downloaded", + "core.downloadfile": "Download file", "core.downloading": "Downloading", "core.edit": "Edit", "core.editor.autosavesucceeded": "Draft saved.", diff --git a/src/lang/en.json b/src/lang/en.json index 97fcaba84..f00f084d3 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -17,6 +17,7 @@ "cannotconnectverify": "Please check the address is correct.", "cannotdownloadfiles": "File downloading is disabled. Please contact your site administrator.", "cannotopeninapp": "This file may not work as expected on this device. Would you like to open it anyway?", + "cannotopeninappdownload": "This file may not work as expected on this device. Would you like to download it anyway?", "captureaudio": "Record audio", "capturedimage": "Taken picture.", "captureimage": "Take picture", @@ -83,6 +84,7 @@ "done": "Done", "download": "Download", "downloaded": "Downloaded", + "downloadfile": "Download file", "downloading": "Downloading", "edit": "Edit", "emptysplit": "This page will appear blank if the left panel is empty or is loading.", diff --git a/src/providers/utils/dom.ts b/src/providers/utils/dom.ts index 9297320de..0a0d7a016 100644 --- a/src/providers/utils/dom.ts +++ b/src/providers/utils/dom.ts @@ -1287,7 +1287,7 @@ export class CoreDomUtilsProvider { ]; if (!title) { - options.cssClass = 'core-nohead'; + options.cssClass = (options.cssClass || '') + ' core-nohead'; } this.showAlertWithOptions(options, 0);