no... I have my custom contextmenu called initMenu(); if the user right
clicks my custom menu shows up. When user clicks in the body the menu
disappear and start from the beginning. If I go from begin() to edit() then
it properly unbind all events. If I go begin() initMenu() then edit() then
it wouldn't unbind.


Jörn Zaefferer wrote:
> 
> xmrcivicboix schrieb:
>> [...]
>> What I'm trying to do is when tiny_mce is opened, I don't want any other
>> events to still be bounded. For instance, when tiny_mce is opened, I
>> don't
>> want user to be able to right click on the text and open up another
>> instance
>> of tiny_mce. [...]
> If you want to prevent the user from using the contextmenu, you have to 
> avoid removing the event the prevents him from doing so. Or you have to 
> add it again after removing all events.
> 
> -- 
> Jörn Zaefferer
> 
> http://bassistance.de
> 
> 
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/properly-unbinding-events-will-give-u-%245-if-you-can-figure-it-out-tf2916367.html#a8150223
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to