Ticket #1618 (closed bug: fixed)
Bind & unbind
|Reported by:||victorbartel||Owned by:|
It seems that there is a bug in jquery 1.2, related with events management(bind/unbind). I guess that I had something like memory leak. When I bind/unbind some function for first time it seems to work without problems but if I bind my function again and again, this one will be executed n+1 times when event is handled, and so on for each function execution. With jquery 1.1.4 it works great.
In this page you will see a gridview component in the top and console element in the bottom. Each time when you try to resize grid column, the console will print out cursorX position. During the test in index2.html page you will observe that for each resizing, cursorX value will be duplicate. To realize resizing functionality I used bind/unbind methods. Excuse me for poor explication, but it’s more easy to understand trying my examples. Thank you in advanced.