Added debug logs for settings.js

This commit is contained in:
Johannes Starosta 2015-07-13 00:53:09 +02:00
parent cd4a61243a
commit b665d1c11a
1 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,9 @@ $(document).ready(function() {
function saveSettings() {
var post1 = $('#registered_user_group').serialize();
var post2 = $('#allowed_domains').serialize();
console.log(post1);
console.log(post2);
$.post(OC.generateUrl('/apps/registration/settings'), post1,post2);
}