@osfarm/itineraire-technique 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/editor.html +7 -5
  2. package/package.json +1 -1
package/editor.html CHANGED
@@ -13,7 +13,8 @@
13
13
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/jquery-ui@1.14.1/themes/base/jquery-ui.css">
14
14
 
15
15
  <script src="https://cdn.jsdelivr.net/npm/underscore@1.13.7/underscore-umd-min.js"></script>
16
- <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script>
16
+ <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/js/bootstrap.bundle.min.js"
17
+ integrity="sha384-FKyoEForCGlyvwx9Hj09JcYn3nv7wiPVlz7YYwJrWVcXK/BmnVDxM+D2scQbITxI" crossorigin="anonymous"></script>
17
18
 
18
19
  <script src="./js/chart-render.js"></script>
19
20
  <script src="./js/editor-attributes.js"></script>
@@ -22,8 +23,9 @@
22
23
  <script src="./js/editor-export.js"></script>
23
24
  <script src="./js/editor-wiki-editor.js"></script>
24
25
 
25
- <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"
26
- integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
26
+ <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/css/bootstrap.min.css" rel="stylesheet"
27
+ integrity="sha384-sRIl4kxILFvY47J16cr9ZwB07vP4J8+LH7qKQnuqkuIAvNWLzeN8tE5YBujZqJLB" crossorigin="anonymous">
28
+
27
29
  <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
28
30
  <link href="./css/styles-editor.css" rel="stylesheet">
29
31
  <link href="./css/styles-rendering.css" rel="stylesheet">
@@ -358,7 +360,7 @@
358
360
  });
359
361
 
360
362
 
361
- $('#paramsModal').on('show.bs.modal', function (event) {
363
+ $('#modalParams').on('show.bs.modal', function (event) {
362
364
 
363
365
  // Set the modal form inputs values from crops.options
364
366
  $("#viewSelect").val(crops.options.view);
@@ -366,7 +368,7 @@
366
368
  $("#topInterventionsTitle").val(crops.options.title_top_interventions);
367
369
  $("#bottomInterventionsTitle").val(crops.options.title_bottom_interventions);
368
370
  $("#stepsTitle").val(crops.options.title_steps);
369
- $("#regionInput").val(crops.options.region);
371
+ $("#regionInput").val(crops.options.region ?? "France");
370
372
  });
371
373
 
372
374
  $("#paramsModalSaveButton").click(function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osfarm/itineraire-technique",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "A visualisation tool to show agricultural technical itineraries based on Echarts",
5
5
  "main": "editor.html",
6
6
  "scripts": {