mirror of
https://github.com/FoggedLens/iD.git
synced 2026-04-22 03:36:37 +02:00
Merge branch 'master' of github.com:systemed/iD
This commit is contained in:
+5
-5
@@ -37,22 +37,22 @@ iD.ui.preset.address = function() {
|
||||
.property('type', 'text')
|
||||
.attr('placeholder', 'Housename')
|
||||
.attr('class', 'addr-housename')
|
||||
.data({ 'key': 'addr:housename' });
|
||||
.datum({ 'key': 'addr:housename' });
|
||||
|
||||
selection.append('input')
|
||||
.property('type', 'text')
|
||||
.attr('placeholder', '123')
|
||||
.attr('class', 'addr-number')
|
||||
.data({ 'key': 'addr:housenumber' });
|
||||
.datum({ 'key': 'addr:housenumber' });
|
||||
|
||||
var streetwrap = selection.append('span')
|
||||
.attr('class', 'input-wrap-position');
|
||||
.attr('class', 'input-wrap-position')
|
||||
.datum({ 'key': 'addr:streetname' });
|
||||
|
||||
streetwrap.append('input')
|
||||
.property('type', 'text')
|
||||
.attr('placeholder', 'Oak Street')
|
||||
.attr('class', 'addr-streetname')
|
||||
.data({ 'key': 'addr:streetname' });
|
||||
.attr('class', 'addr-streetname');
|
||||
|
||||
streetwrap.call(d3.combobox().data(getStreets()));
|
||||
}
|
||||
|
||||
+2
-1
@@ -13,6 +13,7 @@ iD.ui.Taglist = function() {
|
||||
.attr('class','hide-toggle')
|
||||
.text('Additional tags')
|
||||
.on('click', function() {
|
||||
collapsebutton.classed('expanded', wrap.classed('hide'));
|
||||
wrap.call(iD.ui.Toggle(wrap.classed('hide')));
|
||||
selection.node().parentNode.scrollTop += 200;
|
||||
});
|
||||
@@ -38,7 +39,7 @@ iD.ui.Taglist = function() {
|
||||
.attr('class', 'label')
|
||||
.text(t('inspector.new_tag'));
|
||||
|
||||
collapsebutton.classed('expanded', collapsed);
|
||||
collapsebutton.classed('expanded', !collapsed);
|
||||
wrap.classed('hide', collapsed);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user