This commit is contained in:
Paul committed 2016-06-09 09:42:39 +02:00
1 parent 550e334a92
commit 9854114225
2 files changed
+9 -2

No files matched your search

+6 -1
View File
@@ -8,9 +8,14 @@ $(function() {
$('#save-button').click(function() {
var data = $.base64.encode($('#form-quiz').serialize())
console.log(data);
$('#busy').show();
$('#save-button').prop('disabled', true);
$.post('save', data, function(data) {
$('#busy').hide();
$('#save-button').prop('disabled', false);
if(data == 'ok') {
$('#js-message').text('Antwoorden zijn opgeslagen').slideDown().delay(1000).slideUp();
changed = false;