Lines 24-30
$(document).ready(function () {
Link Here
|
24 |
auto_backend.available = 0; |
24 |
auto_backend.available = 0; |
25 |
}, |
25 |
}, |
26 |
success: function (data) { |
26 |
success: function (data) { |
27 |
_addSuccessMessage(auto_backend.name); |
27 |
_addSuccessMessage(auto_backend.name, data); |
28 |
auto_backend.available = 1; |
28 |
auto_backend.available = 1; |
29 |
}, |
29 |
}, |
30 |
error: function (request, textstatus) { |
30 |
error: function (request, textstatus) { |
Lines 84-94
$(document).ready(function () {
Link Here
|
84 |
_addBackendOption("Standard"); |
84 |
_addBackendOption("Standard"); |
85 |
} |
85 |
} |
86 |
|
86 |
|
87 |
function _addSuccessMessage(auto_backend_name) { |
87 |
function _addSuccessMessage(auto_backend_name, data) { |
88 |
_removeVerifyingMessage(auto_backend_name); |
88 |
_removeVerifyingMessage(auto_backend_name); |
89 |
$(auto_ill_el + " > #backend-" + auto_backend_name).append( |
89 |
$(auto_ill_el + " > #backend-" + auto_backend_name).append( |
90 |
'<span class="text-success"><i class="fa-solid fa-check"></i> ' + |
90 |
'<span class="text-success"><i class="fa-solid fa-check"></i> ' + |
91 |
__("Available.").format(auto_backend_name) + |
91 |
__("Available.").format(auto_backend_name) + " " + data.success + |
92 |
"</span>" |
92 |
"</span>" |
93 |
); |
93 |
); |
94 |
} |
94 |
} |
95 |
- |
|
|