From 801f2968720db74821524ada83e9acbec0a8a60d 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 ce734dfd9..20db6bff2 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -19,6 +19,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.2.3 ------------- diff --git a/program/js/app.js b/program/js/app.js index 75cb69288..5a85d07a0 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -6519,7 +6519,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