mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-15 02:02:56 +00:00
Fix saving comments
This commit is contained in:
@@ -90,7 +90,12 @@ iD.ui.Commit = function(context) {
|
||||
|
||||
// Confirm Button
|
||||
var saveButton = saveSection.append('button')
|
||||
.attr('class', 'action col3 button');
|
||||
.attr('class', 'action col3 button')
|
||||
.on('click.save', function() {
|
||||
event.save({
|
||||
comment: commentField.node().value
|
||||
});
|
||||
});
|
||||
|
||||
saveButton.append('span')
|
||||
.attr('class', 'label')
|
||||
|
||||
Reference in New Issue
Block a user