mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-05 14:38:05 +02:00
Merge master into validation
This commit is contained in:
@@ -69,6 +69,14 @@ export function uiField(context, presetField, entity, options) {
|
||||
|
||||
function isPresent() {
|
||||
return _some(field.keys, function(key) {
|
||||
if (field.type === 'multiCombo') {
|
||||
for (var tagKey in _tags) {
|
||||
if (tagKey.indexOf(key) === 0) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
return _tags[key] !== undefined;
|
||||
});
|
||||
}
|
||||
|
||||
@@ -34,9 +34,10 @@ export function uiFieldCycleway(field, context) {
|
||||
.attr('class', 'labeled-inputs')
|
||||
.merge(div);
|
||||
|
||||
var keys = ['cycleway:left', 'cycleway:right'];
|
||||
|
||||
items = div.selectAll('li')
|
||||
.data(field.keys);
|
||||
.data(keys);
|
||||
|
||||
var enter = items.enter()
|
||||
.append('li')
|
||||
|
||||
Reference in New Issue
Block a user