Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Issue 6258022: DOMUI: Fix AF CC field some more. (Closed)

Created:
9 years, 11 months ago by James Hawkins
Modified:
9 years, 7 months ago
CC:
chromium-reviews, arv (Not doing code reviews)
Visibility:
Public.

Description

DOMUI: Fix AF CC field some more. * Don't erase the first typed character when the field is empty. * Don't allow users to select text of buttons and selects, which was causing the 'Add CC' button text to be selected when the user activated a list item. BUG=70868 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72693

Patch Set 1 #

Total comments: 6

Patch Set 2 : Review fix 1. #

Patch Set 3 : One more refactor. #

Patch Set 4 : Another fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -30 lines) Patch
M chrome/browser/resources/options/autofill_edit_creditcard_overlay.js View 1 2 3 3 chunks +15 lines, -30 lines 0 comments Download
M chrome/browser/resources/options/options_page.css View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
James Hawkins
9 years, 11 months ago (2011-01-26 19:19:03 UTC) #1
arv (Not doing code reviews)
http://codereview.chromium.org/6258022/diff/1/chrome/browser/resources/options/autofill_edit_creditcard_overlay.js File chrome/browser/resources/options/autofill_edit_creditcard_overlay.js (right): http://codereview.chromium.org/6258022/diff/1/chrome/browser/resources/options/autofill_edit_creditcard_overlay.js#newcode113 chrome/browser/resources/options/autofill_edit_creditcard_overlay.js:113: event && event.target == $('creditCardNumber') && Why would event ...
9 years, 11 months ago (2011-01-26 19:27:35 UTC) #2
James Hawkins
http://codereview.chromium.org/6258022/diff/1/chrome/browser/resources/options/autofill_edit_creditcard_overlay.js File chrome/browser/resources/options/autofill_edit_creditcard_overlay.js (right): http://codereview.chromium.org/6258022/diff/1/chrome/browser/resources/options/autofill_edit_creditcard_overlay.js#newcode113 chrome/browser/resources/options/autofill_edit_creditcard_overlay.js:113: event && event.target == $('creditCardNumber') && On 2011/01/26 19:27:35, ...
9 years, 11 months ago (2011-01-26 19:38:30 UTC) #3
arv (Not doing code reviews)
LGTM http://codereview.chromium.org/6258022/diff/1/chrome/browser/resources/options/autofill_edit_creditcard_overlay.js File chrome/browser/resources/options/autofill_edit_creditcard_overlay.js (right): http://codereview.chromium.org/6258022/diff/1/chrome/browser/resources/options/autofill_edit_creditcard_overlay.js#newcode113 chrome/browser/resources/options/autofill_edit_creditcard_overlay.js:113: event && event.target == $('creditCardNumber') && On 2011/01/26 ...
9 years, 11 months ago (2011-01-26 20:00:41 UTC) #4
Ilya Sherman
Logic changes LGTM, thanks.
9 years, 11 months ago (2011-01-26 20:15:04 UTC) #5
James Hawkins
9 years, 11 months ago (2011-01-26 21:31:36 UTC) #6
http://codereview.chromium.org/6258022/diff/1/chrome/browser/resources/option...
File chrome/browser/resources/options/autofill_edit_creditcard_overlay.js
(right):

http://codereview.chromium.org/6258022/diff/1/chrome/browser/resources/option...
chrome/browser/resources/options/autofill_edit_creditcard_overlay.js:113: event
&& event.target == $('creditCardNumber') &&
On 2011/01/26 20:00:41, arv wrote:
> On 2011/01/26 19:38:30, James Hawkins wrote:
> > On 2011/01/26 19:27:35, arv wrote:
> > > Why would event be undefined?
> > 
> > This method is called on overlay load w/out a parameter (to set up the
initial
> > button state).
> 
> Please rename the param to opt_event and document it using JSDoc.

Done.

Powered by Google App Engine
This is Rietveld 408576698