OPEN_NOTE_MARKER: <%= image_path("open_note_marker.png").to_json %>,
CLOSED_NOTE_MARKER: <%= image_path("closed_note_marker.png").to_json %>,
- SEARCHING: <%= image_path("searching.gif").to_json %>,
-
apiUrl: function (object) {
var apiType = object.type === "note" ? "notes" : object.type;
var url = "/api/" + OSM.API_VERSION + "/" + apiType + "/" + object.id;
$("input[name=legale]").change(function () {
var url = $(this).data("url");
- $("#contributorTerms").html("<img src='" + OSM.SEARCHING + "' />");
+ $("#contributorTerms").html("<div class='spinner-border' role='status'><span class='visually-hidden'>" + I18n.t("browse.start_rjs.loading") + "</span></div>");
$("#contributorTerms").load(url);
});