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,
|
url: url,
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
data: answer,
|
data: answer,
|
||||||
succes: function(response) {
|
complete: function() {
|
||||||
// location.reload();
|
alertify.notify('Pomyślnie wysłano odpowiedź', 'success', 3).then(
|
||||||
|
location.reload());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
//location.reload();
|
//location.reload();
|
||||||
alertify.notify('Pomyślnie wysłano odpowiedź', 'success', 3);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.question--mark').on('click', () => {
|
$('.question--mark').on('click', () => {
|
||||||
@ -142,12 +143,12 @@
|
|||||||
url: '/delete',
|
url: '/delete',
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
data: delID,
|
data: delID,
|
||||||
succes: function(response) {
|
complete: function() {
|
||||||
// location.reload();
|
alertify.notify('Pytanie zostało usunięte', 'error', 3).then(
|
||||||
|
location.reload());
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
alertify.notify('Pytanie zostało usunięte', 'error', 3);
|
|
||||||
}, function(){
|
}, function(){
|
||||||
alertify.notify('Anulowano usunięcie', 'error', 3);
|
alertify.notify('Anulowano usunięcie', 'error', 3);
|
||||||
}
|
}
|
||||||
|
@ -124,8 +124,8 @@
|
|||||||
type: 'POST',
|
type: 'POST',
|
||||||
data: question,
|
data: question,
|
||||||
complete: function() {
|
complete: function() {
|
||||||
location.reload();
|
alertify.notify('Pomyślnie wysłano pytanie', 'success', 3).then(
|
||||||
alertify.notify('Pomyślnie wysłano pytanie', 'success', 3);
|
location.reload());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -140,13 +140,11 @@
|
|||||||
$.ajax({
|
$.ajax({
|
||||||
url: link,
|
url: link,
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
succes: function(response) {
|
complete: function() {
|
||||||
|
alertify.notify('Pomyślnie oceniono pytanie', 'success', 3);
|
||||||
location.reload();
|
location.reload();
|
||||||
//alert(response)
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
alertify.notify('Pomyślnie oceniono pytanie', 'success', 3);
|
|
||||||
location.reload();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user