Fix adding multilingual name (fixes #1694)

This commit is contained in:
John Firebaugh
2013-08-16 14:32:06 -07:00
parent a8f6c30a36
commit 086cfc934f
+3 -1
View File
@@ -64,7 +64,9 @@ iD.ui.preset.localized = function(field, context) {
if (language) value = language[2];
t[key(d.lang)] = '';
if (d.lang) {
t[key(d.lang)] = '';
}
if (d.value) {
t[key(value)] = d.value;