Re: [Proto-Scripty] Abridged summary of prototype-scriptaculous@googlegroups.com - 5 Messages in 3 Topics

2012-08-16 Thread Emiliano Jordan
-- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. F

Re: [Proto-Scripty] Re: from 1.6.0.1 to 1.7.1: alternative to Event.cache and ._eventID?

2012-08-16 Thread dipnlik
I use this check in a jasmine spec to ensure a newly created element has attached events. The element is supposed to have events attached to keydown and blur, and altough right now I'm not exactly testing that, at least I could test that the element had attached events. If there are better ways t

[Proto-Scripty] Re: from 1.6.0.1 to 1.7.1: alternative to Event.cache and ._eventID?

2012-08-16 Thread Victor
> > In prototype 1.6.0.1 I used to use Event.cache[formElement._eventID] to > check if an element has attached events. > Why do you need such check at all? If you need to remove all event observers from element - there is #stopObserving(), if you need to remove from element and its children -

Re: [Proto-Scripty] Remove horizontal gaps in puzzle demo

2012-08-16 Thread Victor
#puzzle { line-height: 0; } should be enough -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To view this discussion on the web visit https://groups.google.com/d/msg/prototype-scriptaculous/-/9pbqmUhJKtUJ. To post to this gro

[Proto-Scripty] Re: AJAX Request: receive base64 encoded image in responseText

2012-08-16 Thread Victor
> > Is response empty in network sniffer/web inspector? Or in javascript code? >>> >> The response is already empty in web inspector. > Very bad > You should check if it is actually written to HTTP response (maybe >> response is already flushed). >> > If I return some HTML in addition to my