- function clearStatus() {
- $("#browse_status").html("");
- $("#browse_status").hide();
- }
+ function featureNameSelect(feature) {
+ return feature.tags['name:' + $('html').attr('lang')] ||
+ feature.tags.name ||
+ I18n.t("browse.start_rjs.object_list.selected.type." + feature.type, { id: feature.id });
+ }
+
+ function featureNameHistory(feature) {
+ return feature.tags['name:' + $('html').attr('lang')] ||
+ feature.tags.name ||
+ I18n.t("browse.start_rjs.object_list.history.type." + feature.type, { id: feature.id });
+ }
+
+ function setStatus(status) {
+ $("#browse_status").html(status);
+ $("#browse_status").show();
+ }
+
+ function clearStatus() {
+ $("#browse_status").html("");
+ $("#browse_status").hide();