Fix saving comments

This commit is contained in:
Greg Guthe
2013-09-09 19:22:50 -04:00
parent 2d5ec0d77f
commit 876547b1ea

View File

@@ -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')