From dae5ffd07a1cad6372bbc671a7e261b22556a923 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sat, 18 Feb 2017 15:12:45 +0100 Subject: [PATCH] Fix bug where it was too easy accidentally move a folder when using the subscription checkbox (#5655) --- CHANGELOG | 1 + program/js/app.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index c13ca6b5aea..f514be7be0e 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -15,6 +15,7 @@ CHANGELOG Roundcube Webmail - Fix regression where groups with email address were resolved to its members' addresses - Fix update of group name in the contacts list header on group rename (#5648) - Add rewrite rule to disable access to /vendor/bin folder in .htaccess (#5630) +- Fix bug where it was too easy accidentally move a folder when using the subscription checkbox (#5655) RELEASE 1.3-beta ---------------- diff --git a/program/js/app.js b/program/js/app.js index 810f0ca7afe..196dbdb68f7 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -6805,7 +6805,7 @@ function rcube_webmail() .addEventListener('collapse', function(node) { ref.folder_collapsed(node) }) .addEventListener('expand', function(node) { ref.folder_collapsed(node) }) .addEventListener('search', function(p) { if (p.query) ref.subscription_select(); }) - .draggable({cancel: 'li.mailbox.root'}) + .draggable({cancel: 'li.mailbox.root,input,div.treetoggle'}) .droppable({ // @todo: find better way, accept callback is executed for every folder // on the list when dragging starts (and stops), this is slow, but