Ruby Gem - message.rb enhancement proposal
Brian Cardarella
bcardarella at gmail.com
Tue Jan 15 11:26:57 PST 2008
I cannot get this to test... the failure being produced doesn't make
sense to me. So that's why I'm not submitting via DARCS. Anyway, here
is a DIFF file. Please take this into consideration as I think it
might be useful.
Description:
to_form_markup Auto-Redirect
When the GET data limit is reached the OpenID gem will default to
sending the OpenID data via POST.
In order to do this an in-between page is generated with all OpenID
data set to hidden fields. A single
'submit' button appears on the page. This patch adds a <body> tag with
javascript to submit the form
automatically when the page loads. This removes the step of having the
user interact with another page.
In the event that the javascript fails the submit button is still
shown on the page along with a short
note instructing the user to submit the form to continue.
Perhaps in the future it would be nice to somehow have the programmer
decide how this page is styled.
- Brian Cardarella
-------------- next part --------------
A non-text attachment was scrubbed...
Name: message.rb.diff
Type: text/x-patch
Size: 344 bytes
Desc: not available
Url : http://lists.openidenabled.com/pipermail/dev/attachments/20080115/e453452d/attachment.bin
More information about the Dev
mailing list