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:51 +0300
commitb6c68c90aab90c37a76d597a6a416e0526416965 (patch)
tree4e67ce762236ccc799eb7d62788e4f5dc875204c
parent6899be2a131e4ab75d6ab064224551f9a7f34f71 (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 a9854b398..ec98a94c2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,6 +13,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;