From a192303e2b1f5b057c215ddfa1d424ec9283c7b6 Mon Sep 17 00:00:00 2001 From: gaetanbrl Date: Mon, 13 Nov 2023 08:33:39 +0100 Subject: [PATCH] fix action and update version tags --- config-php-sample.json | 2 +- config-python-sample.json | 2 +- js/mviewerstudio.js | 5 ++--- lib/mv.js | 5 ++--- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/config-php-sample.json b/config-php-sample.json index d5107613..cd571d42 100644 --- a/config-php-sample.json +++ b/config-php-sample.json @@ -2,7 +2,7 @@ "app_conf": { "studio_title": "GĂ©oBretagne mviewer studio", "mviewer_version": "3.9", - "mviewerstudio_version": "4", + "mviewerstudio_version": "4.0.1", "is_php": "true", "php": { "upload_service": "srv/php/store.php", diff --git a/config-python-sample.json b/config-python-sample.json index 2856f08d..2f5a15e4 100644 --- a/config-python-sample.json +++ b/config-python-sample.json @@ -2,7 +2,7 @@ "app_conf": { "studio_title": "Mviewer Studio", "mviewer_version": "3.9", - "mviewerstudio_version": "4", + "mviewerstudio_version": "4.0.1", "api": "api/app", "store_style_service": "api/style", "mviewer_instance": "/mviewer/", diff --git a/js/mviewerstudio.js b/js/mviewerstudio.js index 5880f0e9..b2aa9d44 100644 --- a/js/mviewerstudio.js +++ b/js/mviewerstudio.js @@ -29,9 +29,8 @@ $(document).ready(function () { // console.groupCollapsed("init app from config"); _conf = data.app_conf; const VERSION = _conf.mviewerstudio_version; - document.querySelector( - "#creditInfo" - ).innerHTML = `MviewerStudio | Licence GPL-3.0 | Version ${VERSION}`; + document.querySelector("#creditInfo").innerHTML = + `MviewerStudio | Licence GPL-3.0 | Version ${VERSION}`; let mvCompliantInfo = document.querySelector("#mviewerCompliantInfo"); mvCompliantInfo.innerHTML = `${mvCompliantInfo.innerHTML} ${_conf.mviewer_version}`; diff --git a/lib/mv.js b/lib/mv.js index cd2b30a4..1f05d70e 100755 --- a/lib/mv.js +++ b/lib/mv.js @@ -1823,9 +1823,8 @@ var mv = (function () { `; } if (!applications.length && !search) { - document.querySelector( - "#liste_applications" - ).innerHTML = `
+ document.querySelector("#liste_applications").innerHTML = + `

${mviewer.tr("load.app.any")}