diff --git a/inclure/gamutable.html b/inclure/gamutable.html
index bd31093..1fc0e32 100644
--- a/inclure/gamutable.html
+++ b/inclure/gamutable.html
@@ -15,6 +15,11 @@
>
+
+
[(#CONFIG{gamutable/version_js}|=={dev}|?{
@@ -24,3 +29,4 @@
})]
+
diff --git a/js/gamutable.es6.js b/js/gamutable.es6.js
index d4836cd..f0393b5 100644
--- a/js/gamutable.es6.js
+++ b/js/gamutable.es6.js
@@ -266,6 +266,12 @@ let monTableau = {
}
Vue.nextTick(() => {
this.chargement = false;
+ if ($_id > 0) {
+ this.selectLigne($_id, 'id');
+ let url = new URL(window.location);
+ url = url.href.replace('&_id=' + $_id, '');
+ history.pushState({}, null, url);
+ }
console.timeEnd('Chargement de VueJs APRES Ajax');
});
})
@@ -391,7 +397,7 @@ let monTableau = {
-
+
diff --git a/js/gamutable.js b/js/gamutable.js
index ddbd89c..5276869 100644
--- a/js/gamutable.js
+++ b/js/gamutable.js
@@ -322,6 +322,16 @@ var monTableau = {
Vue.nextTick(function () {
_this2.chargement = false;
+
+ if ($_id > 0) {
+ _this2.selectLigne($_id, 'id');
+
+ var _url = new URL(window.location);
+
+ _url = _url.href.replace('&_id=' + $_id, '');
+ history.pushState({}, null, _url);
+ }
+
console.timeEnd('Chargement de VueJs APRES Ajax');
});
}).catch(function (error) {
@@ -418,7 +428,7 @@ var monTableau = {
exporterCSV($csv, this.delimitercsv, this.namecsv);
}
},
- template: "\n\t\n\t\t
\n\t\t\t\n\t\t\t\t{{v}} \n\t\t\t \n\t\t\t \n\t\t\tR\xE9initialiser les tris des colonnes \n\t\t\t\n\t\t\t\t \n\t\t\t \n\t\t\t\n\t\t\t\t \n\t\t\t\tMise \xE0 jour de la base de donn\xE9e\n\t\t\t \n\t\t\t\n\t\t\t\t \n\t\t\t\tBase de donn\xE9es synchronis\xE9e\n\t\t\t \n\t\t
\n\t\t
\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t \n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t \n\t\t\t\t \n\t\t\t \n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t \n\t\t\t \n\t\t
\n\t\t
\n\t\t\t
{{tableau.length}} / {{table.length}} \xE9l\xE9ments
\n\t\t\t\n\t\t
\n\t
"
+ template: "\n\t\n\t\t
\n\t\t\t\n\t\t\t\t{{v}} \n\t\t\t \n\t\t\t \n\t\t\tR\xE9initialiser les tris des colonnes \n\t\t\t\n\t\t\t\t \n\t\t\t \n\t\t\t\n\t\t\t\t \n\t\t\t\tMise \xE0 jour de la base de donn\xE9e\n\t\t\t \n\t\t\t\n\t\t\t\t \n\t\t\t\tBase de donn\xE9es synchronis\xE9e\n\t\t\t \n\t\t
\n\t\t
\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t \n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t \n\t\t\t\t \n\t\t\t \n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t \n\t\t\t \n\t\t
\n\t\t
\n\t\t\t
{{tableau.length}} / {{table.length}} \xE9l\xE9ments
\n\t\t\t\n\t\t
\n\t
"
};
var app = new Vue({
el: '#app',