X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e782b2186d195569ab32e8b1768204582da13bf3..a95748b1681ed601b0a0304c22e93957b8ed1a04:/app/assets/javascripts/index/query.js diff --git a/app/assets/javascripts/index/query.js b/app/assets/javascripts/index/query.js index 86f24e046..d3fa8ad83 100644 --- a/app/assets/javascripts/index/query.js +++ b/app/assets/javascripts/index/query.js @@ -226,6 +226,12 @@ OSM.Query = function(map) { } } + if (results.remark) { + $("
  • ") + .text(I18n.t("javascripts.query.error", { server: url, error: results.remark })) + .appendTo($ul); + } + if ($ul.find("li").length === 0) { $("
  • ") .text(I18n.t("javascripts.query.nothing_found"))