if (responseJSON.success && isCreate) {

          window.location.href = urlPrefix + "/locations/" + responseJSON.locationID.toString() + "/edit";

        } else {