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

Issue 837613003: Added code to disable save button if no text is present in name or number field (Closed)

Created:
5 years, 11 months ago by ankitkumar
Modified:
5 years, 11 months ago
Reviewers:
newt (away), Evan Stade
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Added code to disable save button if no text is present in name or number field Currently if some text is first typed in any of the fields then save button gets enabled. But when all text is deleted from field, save button is not disabled. Added code to enable/disable properly. BUG=446760 Committed: https://crrev.com/a057427e02b14f2f7851c9e5a6926bb46c7b50d7 Cr-Commit-Position: refs/heads/master@{#311849}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Updated function name #

Total comments: 2

Patch Set 3 : Removed call from onItemSelected #

Total comments: 2

Patch Set 4 : Modified as suggested #

Patch Set 5 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -20 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillCreditCardEditor.java View 1 2 3 5 chunks +6 lines, -20 lines 0 comments Download

Messages

Total messages: 32 (10 generated)
ankitkumar
PTAL
5 years, 11 months ago (2015-01-07 07:12:40 UTC) #2
newt (away)
estade: Could you review this since you're most familiar with how autofill credit cards should ...
5 years, 11 months ago (2015-01-07 16:12:29 UTC) #4
Evan Stade
https://codereview.chromium.org/837613003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillCreditCardEditor.java File chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillCreditCardEditor.java (right): https://codereview.chromium.org/837613003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillCreditCardEditor.java#newcode234 chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillCreditCardEditor.java:234: private void enableSaveButton() { I'd change the name of ...
5 years, 11 months ago (2015-01-07 22:56:59 UTC) #5
ankitkumar
https://codereview.chromium.org/837613003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillCreditCardEditor.java File chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillCreditCardEditor.java (right): https://codereview.chromium.org/837613003/diff/1/chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillCreditCardEditor.java#newcode234 chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillCreditCardEditor.java:234: private void enableSaveButton() { On 2015/01/07 22:56:59, Evan Stade ...
5 years, 11 months ago (2015-01-08 04:34:53 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/837613003/20001
5 years, 11 months ago (2015-01-08 04:36:03 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/33916)
5 years, 11 months ago (2015-01-08 04:43:04 UTC) #10
ankitkumar
@Newt PTAL. lgtm is missing from owner
5 years, 11 months ago (2015-01-08 04:51:10 UTC) #12
newt (away)
https://codereview.chromium.org/837613003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillCreditCardEditor.java File chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillCreditCardEditor.java (right): https://codereview.chromium.org/837613003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillCreditCardEditor.java#newcode93 chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillCreditCardEditor.java:93: updateSaveButtonState(); There's no point in calling updateSaveButtonState() here since ...
5 years, 11 months ago (2015-01-08 17:51:38 UTC) #13
ankitkumar
@newt PTAL https://codereview.chromium.org/837613003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillCreditCardEditor.java File chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillCreditCardEditor.java (right): https://codereview.chromium.org/837613003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillCreditCardEditor.java#newcode93 chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillCreditCardEditor.java:93: updateSaveButtonState(); On 2015/01/08 17:51:37, newt wrote: > ...
5 years, 11 months ago (2015-01-09 11:43:38 UTC) #14
newt (away)
https://codereview.chromium.org/837613003/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillCreditCardEditor.java File chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillCreditCardEditor.java (right): https://codereview.chromium.org/837613003/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillCreditCardEditor.java#newcode32 chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillCreditCardEditor.java:32: public class AutofillCreditCardEditor extends Fragment implements OnItemSelectedListener, Looks like ...
5 years, 11 months ago (2015-01-12 18:56:10 UTC) #15
ankitkumar
@newt PTAL at comment and share your opinion https://codereview.chromium.org/837613003/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillCreditCardEditor.java File chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillCreditCardEditor.java (right): https://codereview.chromium.org/837613003/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillCreditCardEditor.java#newcode32 chrome/android/java/src/org/chromium/chrome/browser/preferences/autofill/AutofillCreditCardEditor.java:32: public ...
5 years, 11 months ago (2015-01-13 03:50:53 UTC) #16
newt (away)
On 2015/01/13 03:50:53, ankitkumar wrote: > @newt > PTAL at comment and share your opinion ...
5 years, 11 months ago (2015-01-13 04:12:07 UTC) #17
ankitkumar
@newt PTAL at new patch. I have made changes as suggested.
5 years, 11 months ago (2015-01-14 06:06:22 UTC) #18
newt (away)
lgtm
5 years, 11 months ago (2015-01-14 15:42:54 UTC) #19
ankitkumar
On 2015/01/14 15:42:54, newt wrote: > lgtm Thanks
5 years, 11 months ago (2015-01-15 04:11:31 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/837613003/60001
5 years, 11 months ago (2015-01-15 04:12:16 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/37835)
5 years, 11 months ago (2015-01-15 05:13:59 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/837613003/60001
5 years, 11 months ago (2015-01-15 09:21:33 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/37835)
5 years, 11 months ago (2015-01-15 09:21:51 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/837613003/70001
5 years, 11 months ago (2015-01-16 06:33:40 UTC) #30
commit-bot: I haz the power
Committed patchset #5 (id:70001)
5 years, 11 months ago (2015-01-16 07:09:28 UTC) #31
commit-bot: I haz the power
5 years, 11 months ago (2015-01-16 07:10:16 UTC) #32
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/a057427e02b14f2f7851c9e5a6926bb46c7b50d7
Cr-Commit-Position: refs/heads/master@{#311849}

Powered by Google App Engine
This is Rietveld 408576698