nextcloud/apps/user_openid/js/settings.js

11 lines
311 B
JavaScript

$(document).ready(function(){
$('#openidform #identity').blur(function(event){
event.preventDefault();
OC.msg.startSaving('#openidform .msg');
var post = $( "#openidform" ).serialize();
$.post( 'ajax/openid.php', post, function(data){
OC.msg.finishedSaving('#openidform .msg', data);
});
});
});