diff --git a/core/module/install/view/update/update.css b/core/module/install/view/update/update.css index 58a26dab..ec846297 100755 --- a/core/module/install/view/update/update.css +++ b/core/module/install/view/update/update.css @@ -15,12 +15,4 @@ /** NE PAS EFFACER * admin.css -*/ - -.cursorWait { - cursor: wait; -} - -.cursorDefault { - cursor: default; -} \ No newline at end of file +*/ \ No newline at end of file diff --git a/core/module/install/view/update/update.js.php b/core/module/install/view/update/update.js.php index d1d8aa5d..eb8f4b56 100644 --- a/core/module/install/view/update/update.js.php +++ b/core/module/install/view/update/update.js.php @@ -1,6 +1,9 @@ function step(i, data) { var errors = ["", "", "", ""]; $(".installUpdateProgressText").hide(), $(".installUpdateProgressText[data-id=" + i + "]").show(); + + $("body").css("cursor", "wait"); + $.ajax({ type: "POST", url: "?install/steps", @@ -17,6 +20,7 @@ function step(i, data) { setTimeout((function () { if (4 === i) { $("#installUpdateSuccess").show(); + $("body").css("cursor", "default"); $("#installUpdateEnd").removeClass("disabled"); $("#installUpdateProgress").hide(); } else { @@ -32,6 +36,7 @@ function step(i, data) { } function showError(step, message, errors) { + $("body").css("cursor", "default"); $("#installUpdateErrorStep").text(errors[step] + " (étape n°" + step + ")"); $("#installUpdateError").show(); $("#installUpdateEnd").removeClass("disabled"); diff --git a/core/module/install/view/update/update.php b/core/module/install/view/update/update.php index d677a7ca..728f2bd8 100644 --- a/core/module/install/view/update/update.php +++ b/core/module/install/view/update/update.php @@ -14,27 +14,27 @@
true]); ?> - + - + - + - +
-
+
'; ?> .
-
+