dimagi/commcare-hq — pull request #3279 by lrozanski (2014-04-28 11:50:31+00:00)
Title: fix the error when adding new locations without any metadata

There was an error with adding new locations, whereas clicking on the submit button without first editing custom data (even if nothing was changed) would result in an empty string, which would not be JSON-parsable.