[Prototype-core] Event.stopObserving() doesn't work for window as only argument.

2009-08-11 Thread Allen
When I do: Event.observe(window, 'resize', alert); //Note: alert is the common javascript alert function, but it will be called with no params. Then I can do the following: Event.stopObserving(window, 'resize', alert); and: Event.stopObserving(window, 'resize'); However I cannot do: Event.stopO

[Prototype-core] Code to add

2009-08-11 Thread PhilPantin
Bonjour, J'ai ajouté ce code à mon prototype 1.6.0.3, je pense qu'il pourrait être utile, mais les procédures traditionnelles (git et cie) sont un peu complexes pour moi. Merci si quelqu'un peut transmettre. Et longue vie à Prototype ! Hi, I had this code to my prototype 1.6.0.3, I think it could