Hello everybody,

I have wanted to add a small feature to roundcube. When I drag and drop messages, I wanted to automatically expand folders when possible.

Anyway, in this patch, I restart the drag & drop process just after expanding a collapsed folder when possible. However, to avoid any interference with current existing code, I have copied the drag_start function to a drag_restart function. I am not familiar with this JavaScript code, so, feel free to remove everything not needed into the function drag_restart.

I'm sure we can also use a timeout, but I try to keep things as simple as possible for the moment.

The next step, if possible, is to scroll the folders list when reaching the bottom or the top of the folders list, when dragging messages. I think it will be useful for all people who have an interminable folder's list like me...

ATB.


Detachments -The following attachments have been detached and are available for viewing.

Only click these links if you trust the sender, as well as this message.