summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-04-08 10:04:53 +0200
committerThomas Bruederli <thomas@roundcube.net>2014-04-08 10:04:53 +0200
commitf0c94a3dc308d22f3e79fd4df3f1b2016c14e1c0 (patch)
treefea1456415f76d53ba65180907c0859f60c75ec8 /program/js/app.js
parent0f48e6e660cb5aa0d7bfdf11967b648c78cb64f9 (diff)
Don't display error when moving a message to the same folder it already resides
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index fca75d57f..e81abceb4 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -708,7 +708,7 @@ function rcube_webmail()
case 'list':
// re-send for the selected folder
- if (props && props != '' && this.env.search_request) {
+ if (props && props != '' && this.env.search_request && this.gui_objects.qsearchbox.value) {
var oldmbox = this.env.search_scope == 'all' ? '*' : this.env.mailbox;
this.env.search_mods[props] = this.env.search_mods[oldmbox]; // copy search mods from active search
this.env.mailbox = props;