Mercurial > gemma
diff README.md @ 2423:3423cd4b3136
client: fix json parsing in identify box
JSON.parse() accepts integers and null as valid json. So to be sure to
get an object, we cannot just try JSON.parse() but we need to check if
the given value is a string and starts with a {.
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Thu, 28 Feb 2019 15:34:07 +0100 |
parents | 69e0b75c0cc8 |
children | ab08a74ad2f4 |