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

Unified Diff: chrome/browser/resources/options/browser_options_startup_page_list.js

Issue 7094006: Fix enabled state of an input field in the browser settings. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Formatting fix for "if" statement. Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/options/browser_options.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/browser_options_startup_page_list.js
diff --git a/chrome/browser/resources/options/browser_options_startup_page_list.js b/chrome/browser/resources/options/browser_options_startup_page_list.js
index 563eea82c727d6dced234d873639a70ad60e1e4f..9ad476683ab254d9a588bb73c550d41fd675e78b 100644
--- a/chrome/browser/resources/options/browser_options_startup_page_list.js
+++ b/chrome/browser/resources/options/browser_options_startup_page_list.js
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -119,7 +119,9 @@ cr.define('options.browser_options', function() {
/** @inheritDoc */
createItem: function(pageInfo) {
- return new StartupPageListItem(pageInfo);
+ var item = new StartupPageListItem(pageInfo);
+ item.urlField_.disabled = this.disabled;
+ return item;
},
/** @inheritDoc */
« no previous file with comments | « chrome/browser/resources/options/browser_options.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698