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

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

Issue 599723002: Disable wallpaper button in Guest mode settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | 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.js
diff --git a/chrome/browser/resources/options/browser_options.js b/chrome/browser/resources/options/browser_options.js
index 1bc711f8e33eaccc7c1fde4d77f5493a1b866c1f..abc7b22a7ec6e956ec06bb91196b4b4f3d1230aa 100644
--- a/chrome/browser/resources/options/browser_options.js
+++ b/chrome/browser/resources/options/browser_options.js
@@ -1493,7 +1493,7 @@ cr.define('options', function() {
*/
setWallpaperManaged_: function(managed) {
var button = $('set-wallpaper');
- button.disabled = !!managed;
+ button.disabled |= !!managed;
stevenjb 2014/09/24 16:15:23 nit: Actually, I think that in general this kind o
michaelpg 2014/09/24 22:29:23 +dbeam@ Actually it looks like this can be called
Dan Beam 2014/09/29 18:52:18 why are we doing !! if |managed| should already be
Dan Beam 2014/09/29 18:52:18 any version including: button.disabled = button
// Create a synthetic pref change event decorated as
// CoreOptionsHandler::CreateValueForPref() does.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698