usgin/resources — comment on commit fad94e77316892856683063e4edb3857d89096bf
File: static/js/editor/add-map-editor.js line 33
By rclark:

How about instead,

if ($("#GeographicExtent-container").length < 1) { addGeographicExtent(); }
var arrayAttributes = $("#GeographicExtent > li > div > div[ele=attribute]");
var arrayValues = ... and so on

That way you won't only add the coordinates if GeographicExtent already exists, you'll add GeographicExtent if you need it and then populate it either way