Henning Sprang wrote:
I just ran into this little, but very annoying
problem, becaue I
actually lost 15 minutes of editing:
I entered some text in the page edit textfiled, but I also wanted to
add a little save/commit comment.
So I wrote some words into the the text input field, ad naturally, I hit return.
The page view is shown, but all I entered into the text field is gone.
Not exactly what I want when entering a save/commit comment, isn't it?
This is normal browser behavior. Hitting enter submits the form using
the first submit button it finds. To avoid this, we can only do one
(100% working) thing: reorder the buttons so that preview is the first
one (or Save).
--
Sergiu Dumitriu
http://purl.org/net/sergiu/