From 0558741472e0816031b0b78534f75d2ea653ca84 Mon Sep 17 00:00:00 2001 From: Ansis Brammanis Date: Wed, 27 Feb 2013 14:50:21 -0500 Subject: [PATCH] Fix adding name to entities --- js/id/ui/tageditor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/id/ui/tageditor.js b/js/id/ui/tageditor.js index 6e88cf6b5..639e4434e 100644 --- a/js/id/ui/tageditor.js +++ b/js/id/ui/tageditor.js @@ -82,7 +82,7 @@ iD.ui.TagEditor = function(context) { .attr('placeholder', 'unknown') .attr('class', 'major') .attr('type', 'text') - .property('value', entity.tags.name) + .property('value', entity.tags.name || '') .on('blur', function() { event.changeTags(); });