95820a3a | 28-Jun-2016 |
Jonathan Jaubart <dev@jaubart.com> |
[GoogleMapsModule] Fixes in the Change flag window (#1038)
* [GoogleMapsModule] Fixes in the Change flag window
Fixes few issues in the Change flag window of the GoogleMaps module:
- for subdi
[GoogleMapsModule] Fixes in the Change flag window (#1038)
* [GoogleMapsModule] Fixes in the Change flag window
Fixes few issues in the Change flag window of the GoogleMaps module:
- for subdivisions (state) of countries,the glob does not look at the correct sub-folder, because of a missing /
- the ternary operator l. 678 causes a wrong execution priority, so that the "hidden" or "visible" are shown in the output instead of the style attribute
- l. 701: extra > after the flag name
* [GoogleMapsModule] Fixes in the Change flag window
Additional fix: the `$i` variable is not reset, therefore the value for the `"FLAGS"` input is offset by the latest value of `$i` already incremented while displaying the Countries flags.
However, when processed, this value is used as the index in the flags_s array, hence triggering an out-of-range exception.
show more ...
|