Neseek77 / openid-selector

Automatically exported from code.google.com/p/openid-selector
0 stars 0 forks source link

Refactor code for templating of custom input field when using OpenID/Flickr/etc. #42

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Line 190/191 of openid-jquery.js currently looks like this:

-- 8< --
html += '<input id="' + id + '" type="text" style="' + style + '" name="' + id 
+ '" value="' + value + '" />'
+ '<input id="openid_submit" type="submit" value="' + this.signin_text + '"/>';
-- 8< --

ideally it would call a method with the parameters id and style, so it can be 
easily overwritten by injecting a user-defined method in the openid class.

Original issue reported on code.google.com by jos...@feth.com on 15 Aug 2011 at 8:31

GoogleCodeExporter commented 9 years ago
why? you can change look and feel using CSS

Original comment by andriy.gerasika on 20 Oct 2011 at 10:29