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 607215703d6e93625542086459bee80a2edfa60b..f80232275fd001f9f7bdc9bd025d7ffdcded1a07 100644 |
--- a/chrome/browser/resources/options/browser_options.js |
+++ b/chrome/browser/resources/options/browser_options.js |
@@ -776,6 +776,11 @@ cr.define('options', function() { |
path = path.replace(/\//g, ' \u203a '); |
$('downloadLocationPath').value = path; |
} |
+ if (event.value.disabled) |
+ $('download-location-label').classList.add('disabled'); |
+ else |
+ $('download-location-label').classList.remove('disabled'); |
+ $('downloadLocationChangeButton').disabled = event.value.disabled; |
}, |
/** |