server/apps/user_openid/js/settings.js

13 lines
304 B
JavaScript
Raw Normal View History

$(document).ready(function(){
$('#openidform input').blur(function(event){
event.preventDefault();
var post = $( "#openidform" ).serialize();
$.post( 'ajax/openid.php', post, function(data){
if( data.status == "success" ){
}else{
alert('error while setting OpenID');
}
});
});
});