From f86f3829a7a938393dd76bd53306d087e163ffc4 Mon Sep 17 00:00:00 2001 From: Etienne Trimaille Date: Thu, 24 Oct 2024 12:05:06 +0200 Subject: [PATCH] Remove parseJSON, follow up from 6e92cd6c0e245c5fd02c36416b907ba5fc8e563c --- altiProfil/install/www/altiprofil/js/altiProfil.js | 1 - tests/README.md | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/altiProfil/install/www/altiprofil/js/altiProfil.js b/altiProfil/install/www/altiprofil/js/altiProfil.js index cc97f86..6ef8f63 100755 --- a/altiProfil/install/www/altiprofil/js/altiProfil.js +++ b/altiProfil/install/www/altiprofil/js/altiProfil.js @@ -141,7 +141,6 @@ function getProfil(p1,p2){ if ( ALTI_PROVIDER == "database"){ var _resolution = data[0]['resolution']; var _slope = data[0]['slope']; - _slope = $.parseJSON(_slope); layout['title'] = 'Profil ('+ LOCALES_ALTI_RESOLUTION +' ' +_resolution+ 'm)'; layout['annotations'].push( diff --git a/tests/README.md b/tests/README.md index f138473..ff1d7d1 100644 --- a/tests/README.md +++ b/tests/README.md @@ -7,7 +7,7 @@ Steps: # Clean previous versions (optional) make clean - # Run the different services (default is Lizmap 3.8.rc-1) + # Run the different services make run # Install the modules