Use POST instead of GET request to synchronise groups

This commit is contained in:
Benjamin Renard 2014-01-27 23:51:03 +01:00
parent a2e33ea274
commit fe92325853

View file

@ -404,7 +404,7 @@ function SyncServer() {
this.email=email; this.email=email;
this.password=password; this.password=password;
try { try {
jQuery.getJSON( jQuery.post(
this.url+'/sync', this.url+'/sync',
{ {
'email':email, 'email':email,
@ -421,7 +421,8 @@ function SyncServer() {
} }
} }
onerror(data); onerror(data);
} },
'json'
).fail(onerror); ).fail(onerror);
} }
catch(e) { catch(e) {