From 450c685f9fcea3be94a7e0678bcd521c0db87b35 Mon Sep 17 00:00:00 2001 From: Mihai Ardeleanu Date: Wed, 8 Apr 2020 12:54:13 +0300 Subject: [PATCH] Romcity: Added <> option-fix push option --- composer.json | 2 +- etc/module.xml | 2 +- view/frontend/web/js/form/element/city.js | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 893ffc7..67db286 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "eadesignro/romcity", "description": "A module that adds checkout city field to checkout quote shipping address", "type": "magento2-module", - "version": "1.2.4", + "version": "1.2.4.1", "autoload": { "files": [ "registration.php" diff --git a/etc/module.xml b/etc/module.xml index a094bb4..de5e1b6 100644 --- a/etc/module.xml +++ b/etc/module.xml @@ -1,7 +1,7 @@ - + diff --git a/view/frontend/web/js/form/element/city.js b/view/frontend/web/js/form/element/city.js index 51aaad8..be53c75 100644 --- a/view/frontend/web/js/form/element/city.js +++ b/view/frontend/web/js/form/element/city.js @@ -61,6 +61,7 @@ define([ country_id: "", label: 'Selectati localitatea' }; + cityOptions.push(jsonObject); $.each(currentRegionCities, function (index, cityOptionValue) {