From b03ecd2bb9d2dfe675dd62ee1eb89cdb855b564a Mon Sep 17 00:00:00 2001 From: PA8S Date: Thu, 27 Jun 2024 21:57:24 +0200 Subject: [PATCH] Added states/provinces of The Netherlands --- application/views/station_profile/edit.php | 20 ++++++++++++++++++++ assets/js/sections/station_locations.js | 5 +++-- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/application/views/station_profile/edit.php b/application/views/station_profile/edit.php index 48223a04..9ca115be 100644 --- a/application/views/station_profile/edit.php +++ b/application/views/station_profile/edit.php @@ -760,6 +760,26 @@ +
+ + + +
+
diff --git a/assets/js/sections/station_locations.js b/assets/js/sections/station_locations.js index ba2061a5..cec9f41a 100644 --- a/assets/js/sections/station_locations.js +++ b/assets/js/sections/station_locations.js @@ -40,11 +40,12 @@ $(document).ready( function () { '170': 'nz_state', '209': 'belgium_state', '248': 'italy_state', + '263': 'netherlands_state', '6': 'us_state' // Alaska }; // Hide all states initially - $("#canada_state, #aland_state, #asiatic_russia_state, #belarus_state, #mexico_state, #eu_russia_state, #argentina_state, #brazil_state, #chile_state, #us_state, #paraguay_state, #korea_state, #uruguay_state, #venezuela_state, #australia_state, #png_state, #nz_state, #belgium_state, #italy_state"").hide(); + $("#canada_state, #aland_state, #asiatic_russia_state, #belarus_state, #mexico_state, #eu_russia_state, #argentina_state, #brazil_state, #chile_state, #us_state, #paraguay_state, #korea_state, #uruguay_state, #venezuela_state, #australia_state, #png_state, #nz_state, #belgium_state, #italy_state, #netherlands_state"").hide(); /** * Gets the selected DXCC ID and shows the corresponding state. */ @@ -68,7 +69,7 @@ $(document).ready( function () { var stateToShow = stateMap[selectedValue] || stateMap['default']; // Hide all states - $("#mexico_state, #belarus_state, #asiatic_russia_state, #aland_state, #canada_state, #us_state, #eu_russia_state, #argentina_state, #brazil_state, #chile_state, #paraguay_state, #korea_state, #uruguay_state, #venezuela_state, #australia_state, #png_state, #nz_state, #belgium_state, #italy_state"").hide(); + $("#mexico_state, #belarus_state, #asiatic_russia_state, #aland_state, #canada_state, #us_state, #eu_russia_state, #argentina_state, #brazil_state, #chile_state, #paraguay_state, #korea_state, #uruguay_state, #venezuela_state, #australia_state, #png_state, #nz_state, #belgium_state, #italy_state, #netherlands_state"").hide(); // Show the selected state $("#" + stateToShow).show();