summaryrefslogtreecommitdiffstats
path: root/settings/js
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-08-05 16:05:58 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-08-06 10:08:26 +0200
commitf039320a0b432937297c3deb93c1c78fe2d8d4a9 (patch)
tree77b05cf4d8a2c8a3fc62e1a456c7762d7dadb40e /settings/js
parentc998bc1215cce9508d2cf42b49fefab0a573baaf (diff)
downloadnextcloud-server-f039320a0b432937297c3deb93c1c78fe2d8d4a9.tar.gz
nextcloud-server-f039320a0b432937297c3deb93c1c78fe2d8d4a9.zip
move openid settings to Personal
Diffstat (limited to 'settings/js')
-rw-r--r--settings/js/main.js13
1 files changed, 12 insertions, 1 deletions
diff --git a/settings/js/main.js b/settings/js/main.js
index 010225bcb27..e6ca30d0ce4 100644
--- a/settings/js/main.js
+++ b/settings/js/main.js
@@ -18,7 +18,18 @@ $(document).ready(function(){
});
return false;
});
-
+
+ $('#openidform').submit(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');
+ }
+ });
+ });
+
$("#languageinput").change( function(){
// Serialize the data
var post = $( "#languageinput" ).serialize();