Fix tabbing through taglist

This commit is contained in:
Ansis Brammanis
2013-02-21 17:05:05 -05:00
parent 988463a2c2
commit 559d1b9420
+6 -2
View File
@@ -113,7 +113,11 @@ iD.modes.Select = function(context, selection, initial) {
.on('close', function() { context.enter(iD.modes.Browse(context)); });
}
context.history().on('change.select', function() {
context.history()
.on('undone.select', updateInspector)
.on('redone.select', updateInspector);
function updateInspector() {
context.surface().call(radialMenu.close);
if (_.any(selection, function(id) { return !context.entity(id); })) {
@@ -127,7 +131,7 @@ iD.modes.Select = function(context, selection, initial) {
}
entity = newEntity;
}
});
}
context.map().on('move.select', function() {
context.surface().call(radialMenu.close);