From 77f4a02c45706f70147bfbd16a872ecbe4f6c9d7 Mon Sep 17 00:00:00 2001 From: tofulm Date: Tue, 22 Mar 2022 10:53:29 +0100 Subject: [PATCH] quand on clique sur le bouton : forcer rechargement, on affiche le spinner rouge --- js/gamutable.es6.js | 1 + js/gamutable.js | 1 + 2 files changed, 2 insertions(+) diff --git a/js/gamutable.es6.js b/js/gamutable.es6.js index 7a34e2d..f8653b9 100644 --- a/js/gamutable.es6.js +++ b/js/gamutable.es6.js @@ -378,6 +378,7 @@ let monTableau = { return ''; }, chargerJson(id) { + this.chargement = true; let url = this.apiuri; if (parseInt(id) > 0) { url += '&id=' + id; diff --git a/js/gamutable.js b/js/gamutable.js index 8480749..aab626e 100644 --- a/js/gamutable.js +++ b/js/gamutable.js @@ -432,6 +432,7 @@ var monTableau = { chargerJson: function chargerJson(id) { var _this4 = this; + this.chargement = true; var url = this.apiuri; if (parseInt(id) > 0) {