From 2d5ec0d77f0b33b1d35434ed86e6f89cd47639c1 Mon Sep 17 00:00:00 2001 From: Greg Guthe Date: Thu, 5 Sep 2013 21:03:30 -0400 Subject: [PATCH] Remove commit message save on click Clicking the save button will blur the commit message textarea and trigger a save. --- js/id/ui/commit.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/js/id/ui/commit.js b/js/id/ui/commit.js index f2c092642..2c11424d6 100644 --- a/js/id/ui/commit.js +++ b/js/id/ui/commit.js @@ -90,14 +90,7 @@ iD.ui.Commit = function(context) { // Confirm Button var saveButton = saveSection.append('button') - .attr('class', 'action col3 button') - .on('click.save', function() { - var comment = commentField.node().value; - localStorage.comment = comment; - event.save({ - comment: comment - }); - }); + .attr('class', 'action col3 button'); saveButton.append('span') .attr('class', 'label')