Index: chrome/browser/resources/options/browser_options.js |
diff --git a/chrome/browser/resources/options/browser_options.js b/chrome/browser/resources/options/browser_options.js |
index 871e5206cf07576bd31e58d313a3a2c3169884f8..26b395d2bcb16c7f860d73e08bc3fa459078b98c 100644 |
--- a/chrome/browser/resources/options/browser_options.js |
+++ b/chrome/browser/resources/options/browser_options.js |
@@ -402,7 +402,12 @@ cr.define('options', function() { |
*/ |
updateCustomStartupPageControlStates_: function() { |
var disable = !this.shouldEnableCustomStartupPageControls(); |
- $('startupPagesList').disabled = disable; |
+ var startupPagesList = $('startupPagesList'); |
+ startupPagesList.disabled = disable; |
+ // Explicitly set disabled state for input text elements. |
+ var inputs = startupPagesList.querySelectorAll("input[type='text']"); |
+ for (var i = 0; i < inputs.length; i++) |
+ inputs[i].disabled = disable; |
$('startupUseCurrentButton').disabled = disable; |
}, |