diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt
index 2d372228e0..34ba28acc1 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt
@@ -881,7 +881,7 @@
-
+
Cancel
diff --git a/koha-tmpl/intranet-tmpl/prog/js/ill-autobackend.js b/koha-tmpl/intranet-tmpl/prog/js/ill-autobackend.js
index a57871de83..cfbfa1762a 100644
--- a/koha-tmpl/intranet-tmpl/prog/js/ill-autobackend.js
+++ b/koha-tmpl/intranet-tmpl/prog/js/ill-autobackend.js
@@ -24,7 +24,7 @@ $(document).ready(function () {
auto_backend.available = 0;
},
success: function (data) {
- _addSuccessMessage(auto_backend.name);
+ _addSuccessMessage(auto_backend.name, data);
auto_backend.available = 1;
},
error: function (request, textstatus) {
@@ -84,11 +84,13 @@ $(document).ready(function () {
_addBackendOption("Standard");
}
- function _addSuccessMessage(auto_backend_name) {
+ function _addSuccessMessage(auto_backend_name, data) {
_removeVerifyingMessage(auto_backend_name);
$(auto_ill_el + " > #backend-" + auto_backend_name).append(
' ' +
__("Available.").format(auto_backend_name) +
+ " " +
+ data.success +
""
);
}