modify openid selector to not default to http:// for openid
authorJoey Hess <joey@kitenet.net>
Sat, 8 May 2010 00:17:31 +0000 (20:17 -0400)
committerJoey Hess <joey@kitenet.net>
Sat, 8 May 2010 00:17:31 +0000 (20:17 -0400)
ikiwiki doesn't care if the http:// is there, and it seems cleaner and less
annoying this way

underlays/openid-selector/ikiwiki/openid/openid-jquery.js

index f39fff842f97a5503c2b9d92e0bbc71bce865fda..48054f79a561bb7445b7ee4e0695c5e0efbc6747 100644 (file)
@@ -220,7 +220,7 @@ var openid = {
                }
                if (provider['name'] == 'OpenID') {
                        id = this.input_id;
-                       value = 'http://';
+                       value = '';
                        style = 'background:#FFF url('+this.img_path+'openid-inputicon.gif) no-repeat scroll 0 50%; padding-left:18px;';
                }
                html += '<input id="'+id+'" type="text" style="'+style+'" name="'+id+'" value="'+value+'" />' +