mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 21:33:15 -07:00
More changes for #72
This commit is contained in:
parent
6dea8b7440
commit
acb9aab369
4 changed files with 9 additions and 7 deletions
|
@ -40,7 +40,7 @@
|
|||
var $form = $("#loginForm");
|
||||
var formData = $form.serialize();
|
||||
var dtOffset = new Date().getTimezoneOffset();
|
||||
formData += ('&DateTimeOffset=' + dtOffset)
|
||||
formData += ('&DateTimeOffset=' + dtOffset);
|
||||
|
||||
$.ajax({
|
||||
type: $form.prop("method"),
|
||||
|
@ -50,7 +50,9 @@
|
|||
success: function (response) {
|
||||
console.log(response);
|
||||
if (response.result === true) {
|
||||
window.location.replace("/search");
|
||||
|
||||
window.location.replace("/search");
|
||||
|
||||
} else {
|
||||
generateNotify(response.message, "warning");
|
||||
}
|
||||
|
@ -61,8 +63,5 @@
|
|||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
||||
});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue