Hello Thomas,

I have identified the problem, and here my correction:

line 1330 before : if (div.hasClass('collapsed')) {
line 1330 after  : if (div.hasClass('collapsed') &&
this.folder_auto_expand != k) {

I reset the timer only if the folder is different than the previous one.
If we don't do this, the timer will be constantly reset when the mouse is
over a collapsed folder.

Anyway, that's working, now!

ATB

On Fri, 19 Jun 2009 19:31:05 +0200, Thomas Bruederli <[email protected]>
wrote:
> Hi André
> 
> I've just applied your patch to the trunk.
> 
> Thanks a lot!
> Thomas
> 
> 
> Andre Rodier wrote:
>> Hello everybody,
>>
>> I had no answers to my patch proposition here:
>> http://trac.roundcube.net/ticket/1485914
>>
>> This small patch automatically open collapsed folders during a drag and
>> drop process, after the mouse is on a collapsed folder for one second.
>>
>> It's very useful if you have a lot of sub folders, and you forgot to
open
>> the before starting to drag messages.
>>
>> Also, scrolling the folder's list during drag&  drop should be useful,
>> I'll try to work on that this evening.
>>
>> ATB.
>> _______________________________________________
>> List info: http://lists.roundcube.net/dev/

-- 
r e d 2
The red2 Group of companies; red2, red2 Services and red2 Agency
34-35 Eastcastle Street, London W1W 8DW
www.red2.co.uk | [email protected] 

                (+44) 0870 471 8492
                direct

                (+44) 0751 124 4961
                mobile
_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to