mirror of
https://github.com/studio-neptune/yuuki.git
synced 2024-09-20 16:35:56 +08:00
Update
This commit is contained in:
parent
aacec023b5
commit
102739a400
|
@ -33,7 +33,8 @@ function log_query(data) {
|
|||
data: data
|
||||
},
|
||||
error: function () {
|
||||
alert("Something was wrong.");
|
||||
$("#events").html("<p class=\"pt-3\">Something was wrong.</p>");
|
||||
$("#events").fadeIn();
|
||||
},
|
||||
success: function (response) {
|
||||
let show = "<h6 class=\"border-bottom border-gray pb-2 mb-0\">" + data + "</h6>";
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
/*jshint esversion: 6 */
|
||||
|
||||
/** global: object_server */
|
||||
/*
|
||||
Yuuki_Libs
|
||||
(c) 2020 Star Inc.
|
||||
|
@ -26,7 +27,8 @@ $(function () {
|
|||
task: "get_groups_joined"
|
||||
},
|
||||
error: function () {
|
||||
alert("Something was wrong.");
|
||||
$("#groups").html("<p class=\"pt-3\">Something was wrong.</p>");
|
||||
$("#groups").fadeIn();
|
||||
},
|
||||
success: function (response) {
|
||||
let show = "";
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
/*jshint esversion: 6 */
|
||||
|
||||
/** global: object_server */
|
||||
/*
|
||||
Yuuki_Libs
|
||||
(c) 2020 Star Inc.
|
||||
|
@ -26,7 +27,8 @@ $(function(){
|
|||
task: "get_helpers"
|
||||
},
|
||||
error: function () {
|
||||
alert("Something was wrong.");
|
||||
$("#helpers").html("<p class=\"pt-3\">Something was wrong.</p>");
|
||||
$("#helpers").fadeIn();
|
||||
},
|
||||
success: function (response) {
|
||||
let show = "";
|
||||
|
|
|
@ -17,7 +17,7 @@ function init(id, data) {
|
|||
data: data
|
||||
},
|
||||
error: function () {
|
||||
alert("Something was wrong.");
|
||||
$(id).text("Something was wrong.");
|
||||
},
|
||||
success: function (response) {
|
||||
let ajax_result = response.result;
|
||||
|
|
|
@ -17,7 +17,8 @@ $(function () {
|
|||
Cookies.set('yuuki_admin', data.session);
|
||||
location.reload();
|
||||
} else {
|
||||
$(".status").text("Wrong password")
|
||||
$(".status").text("Wrong password");
|
||||
$(".status").fadeIn();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue