INQ-36 mobile layout
This commit is contained in:
parent
7485e60777
commit
1590c39535
BIN
inquire.db
BIN
inquire.db
Binary file not shown.
@ -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);
|
||||
}
|
||||
|
@ -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) {
|
||||
location.reload();
|
||||
//alert(response)
|
||||
}
|
||||
});
|
||||
complete: function() {
|
||||
alertify.notify('Pomyślnie oceniono pytanie', 'success', 3);
|
||||
location.reload();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user