insert blank name localization field at top

This commit is contained in:
Ansis Brammanis
2013-04-16 17:43:04 -04:00
parent 24c0115190
commit 6fc290cf5c

View File

@@ -78,7 +78,7 @@ iD.ui.preset.localized = function(field, context) {
var wraps = selection.selectAll('div.entry').
data(data, function(d) { return d.lang; });
wraps.enter().append('div')
wraps.enter().insert('div', ':first-child')
.attr('class', 'entry')
.each(function(d) {
var wrap = d3.select(this);
@@ -136,7 +136,7 @@ iD.ui.preset.localized = function(field, context) {
}
}
localizedInputs.call(render, postfixed);
localizedInputs.call(render, postfixed.reverse());
};
i.focus = function() {