From c7fdfe2def226a34534fe2ec115513f07b8f2a8d Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Mon, 28 Jan 2013 12:07:53 -0500 Subject: [PATCH] Select commit message (fixes #540) --- js/id/ui/commit.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/id/ui/commit.js b/js/id/ui/commit.js index d85041992..47484419a 100644 --- a/js/id/ui/commit.js +++ b/js/id/ui/commit.js @@ -63,7 +63,8 @@ iD.ui.commit = function(map) { comment_section.append('textarea') .attr('class', 'changeset-comment') .attr('placeholder', 'Brief Description of your contributions') - .property('value', localStorage.comment || ''); + .property('value', localStorage.comment || '') + .node().select(); // Confirm / Cancel Buttons var buttonwrap = comment_section.append('div')