INQ-36 mobile layout

This commit is contained in:
s441471 2019-01-14 17:40:19 +01:00
parent 7485e60777
commit 1590c39535
3 changed files with 12 additions and 13 deletions

Binary file not shown.

View File

@ -118,12 +118,13 @@
url: url,
type: 'POST',
data: answer,
succes: function(response) {
// location.reload();
complete: function() {
alertify.notify('Pomyślnie wysłano odpowiedź', 'success', 3).then(
location.reload());
}
});
//location.reload();
alertify.notify('Pomyślnie wysłano odpowiedź', 'success', 3);
});
$('.question--mark').on('click', () => {
@ -142,12 +143,12 @@
url: '/delete',
type: 'POST',
data: delID,
succes: function(response) {
// location.reload();
complete: function() {
alertify.notify('Pytanie zostało usunięte', 'error', 3).then(
location.reload());
}
});
alertify.notify('Pytanie zostało usunięte', 'error', 3);
}, function(){
alertify.notify('Anulowano usunięcie', 'error', 3);
}

View File

@ -124,8 +124,8 @@
type: 'POST',
data: question,
complete: function() {
location.reload();
alertify.notify('Pomyślnie wysłano pytanie', 'success', 3);
alertify.notify('Pomyślnie wysłano pytanie', 'success', 3).then(
location.reload());
}
});
@ -140,13 +140,11 @@
$.ajax({
url: link,
type: 'POST',
succes: function(response) {
complete: function() {
alertify.notify('Pomyślnie oceniono pytanie', 'success', 3);
location.reload();
//alert(response)
}
});
alertify.notify('Pomyślnie oceniono pytanie', 'success', 3);
location.reload();
});