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

Issue 7094006: Fix enabled state of an input field in the browser settings. (Closed)

Created:
9 years, 6 months ago by kevers
Modified:
9 years, 6 months ago
CC:
chromium-reviews, arv (Not doing code reviews)
Visibility:
Public.

Description

Fix enabled state of an input field in the browser settings. BUG=80200 TEST=Go to 'chrome://settings/browser'. The input field for 'Add a new page' should be editable only if the 'On startup' option is set to 'Open the following pages'.

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix spacing glitches #

Total comments: 3

Patch Set 3 : Shorten code for disabling inputs. #

Total comments: 2

Patch Set 4 : Formatting fix for "if" statement. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -3 lines) Patch
M chrome/browser/resources/options/browser_options.js View 1 2 3 1 chunk +6 lines, -1 line 0 comments Download
M chrome/browser/resources/options/browser_options_startup_page_list.js View 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Rick Byers
Looks good Kevin, thanks for fixing this! I've got one style nit, and one suggestion ...
9 years, 6 months ago (2011-05-31 17:35:25 UTC) #1
kevers1
Rick, I have updated the code based on your review. Eric, could you please have ...
9 years, 6 months ago (2011-05-31 20:19:01 UTC) #2
Rick Byers
On 2011/05/31 20:19:01, kevers1 wrote: > Rick, I have updated the code based on your ...
9 years, 6 months ago (2011-05-31 20:57:38 UTC) #3
James Hawkins
http://codereview.chromium.org/7094006/diff/1003/chrome/browser/resources/options/browser_options.js File chrome/browser/resources/options/browser_options.js (right): http://codereview.chromium.org/7094006/diff/1003/chrome/browser/resources/options/browser_options.js#newcode407 chrome/browser/resources/options/browser_options.js:407: // explicitly set disabled state for input text elements ...
9 years, 6 months ago (2011-06-08 17:38:31 UTC) #4
kevers
http://codereview.chromium.org/7094006/diff/1003/chrome/browser/resources/options/browser_options.js File chrome/browser/resources/options/browser_options.js (right): http://codereview.chromium.org/7094006/diff/1003/chrome/browser/resources/options/browser_options.js#newcode408 chrome/browser/resources/options/browser_options.js:408: var inputs = startupPagesList.getElementsByTagName("input"); On 2011/06/08 17:38:31, James Hawkins ...
9 years, 6 months ago (2011-06-08 20:08:35 UTC) #5
James Hawkins
LGTM with nit. http://codereview.chromium.org/7094006/diff/8001/chrome/browser/resources/options/browser_options.js File chrome/browser/resources/options/browser_options.js (right): http://codereview.chromium.org/7094006/diff/8001/chrome/browser/resources/options/browser_options.js#newcode409 chrome/browser/resources/options/browser_options.js:409: for (var i = 0; i ...
9 years, 6 months ago (2011-06-08 23:16:16 UTC) #6
kevers
9 years, 6 months ago (2011-06-09 15:05:39 UTC) #7
kevers
http://codereview.chromium.org/7094006/diff/8001/chrome/browser/resources/options/browser_options.js File chrome/browser/resources/options/browser_options.js (right): http://codereview.chromium.org/7094006/diff/8001/chrome/browser/resources/options/browser_options.js#newcode409 chrome/browser/resources/options/browser_options.js:409: for (var i = 0; i < inputs.length; i++ ...
9 years, 6 months ago (2011-06-10 13:51:38 UTC) #8
commit-bot: I haz the power
9 years, 6 months ago (2011-06-10 14:45:14 UTC) #9
Change committed as 88662

Powered by Google App Engine
This is Rietveld 408576698