-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andrew Kaspick wrote:
> I don't see a hook for InPlaceEditor to add these observers.
True.

> Based on your response, I take it that adding the functionality I need
> is a straight forward task, but I fail to see what it is.
Repeating: "attach a 'focus' observer on that element to do
that (you know, the usual selection/text range operations)".

> Scriptaculous/Prototype deal with various browser details for certain
> functions, so I don't see why Scriptaculous couldn't provide a way to
> allow no initial selection when the input/textarea elements are
> created regardless of browser.
As I anticipated, the problem in fact is that you have a WRONG impression
about this issue and that's what I wanted to correct in my first message.
You're living under the impression it's Prototype/SAU's job to take care
about this. IT'S NOT! This is an accessibility feature. It's your user
environment vendor who decides how "focusing a control element" should work,
or if it should provide tools for tweaking its default behavior.

OK, class adjourned, time to do your homework. ;-)
Not nice to let others do it for you, but anyway, here it is:
http://rubyonrails-spinoffs.googlegroups.com/web/in-place-editor-test.html

enjoy. :)
- --
Marius Feraru
-----BEGIN PGP SIGNATURE-----

iD8DBQFF2oaOtZHp/AYZiNkRAn5fAKCVXWEhKyAZaBj4LZ5ntQ60qsjdOACdHcFd
O0f/Sf05cVRE/F3dF0BbRNE=
=l/XH
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to