mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-14 13:18:15 +02:00
@@ -228,7 +228,8 @@ export function uiCommit(context) {
|
||||
|
||||
buttonSection.selectAll('.cancel-button')
|
||||
.on('click.cancel', function() {
|
||||
dispatch.call('cancel');
|
||||
var selectedID = commitChanges.entityID();
|
||||
dispatch.call('cancel', this, selectedID);
|
||||
});
|
||||
|
||||
buttonSection.selectAll('.save-button')
|
||||
|
||||
Reference in New Issue
Block a user