X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ef4c9a3306e86377b875d479c7036f5f3ad17410..dbe84a97bf48789e0f32a185f701840fc68063bd:/app/assets/javascripts/index/changeset.js?ds=sidebyside diff --git a/app/assets/javascripts/index/changeset.js b/app/assets/javascripts/index/changeset.js index a659feef6..c6e77bc71 100644 --- a/app/assets/javascripts/index/changeset.js +++ b/app/assets/javascripts/index/changeset.js @@ -46,7 +46,7 @@ OSM.Changeset = function (map) { success: function () { OSM.loadSidebarContent(window.location.pathname, page.load); }, - error: function (xhr, xhr_status, http_status) { + error: function (xhr) { $(form).find("#comment-error").text(xhr.responseText); $(form).find("#comment-error").prop("hidden", false); $(form).find("input[type=submit]").prop("disabled", false);