Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roundcube/roundcubemail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2022-08-27 18:01:18 +0300
committerAleksander Machniak <alec@alec.pl>2022-08-27 18:01:18 +0300
commit45b184e3372c1bb00efb8875b7b6570baf96df11 (patch)
tree7b5a43ee5495463ad4c221890a3912b67743eefb
parent79b089e6d3f8cf6840f6c5b1501bc985435df01b (diff)
Fix bug where the attachment menu wouldn't disappear after an action is selected (#8691)
-rw-r--r--CHANGELOG.md1
-rw-r--r--program/js/app.js4
2 files changed, 3 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 09221117e..67b64f099 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -19,6 +19,7 @@
- Fix support for ManageSieve over implicit SSL (#8670)
- Fix bug where "about:blank" page could trigger "load error" (#8554)
- Fix bug where setting 'Clear Trash on Logout' to 'all messages' didn't work (#8687)
+- Fix bug where the attachment menu wouldn't disappear after an action is selected (#8691)
## Release 1.6.0
diff --git a/program/js/app.js b/program/js/app.js
index 69d764906..a317b3caa 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1098,7 +1098,7 @@ function rcube_webmail()
if (command != 'download-attachment' && mimetype && this.env.mimetypes && $.inArray(mimetype, this.env.mimetypes) >= 0) {
// Note: We disable _framed for proper X-Frame-Options:deny support (#6688)
if (this.open_window(this.url('get', $.extend({_frame: 1, _framed: 0}, params))))
- break;
+ return true;
}
params._download = 1;
@@ -1108,7 +1108,7 @@ function rcube_webmail()
this.goto_url('get', params, false, true);
this.compose_skip_unsavedcheck = 0;
- break;
+ return true;
case 'select-all':
this.select_all_mode = props ? false : true;