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

Unified Diff: chrome/browser/resources/shared/js/cr/ui/command.js

Issue 3315005: NTP: Adds a context menu to the apps section... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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
Index: chrome/browser/resources/shared/js/cr/ui/command.js
===================================================================
--- chrome/browser/resources/shared/js/cr/ui/command.js (revision 58563)
+++ chrome/browser/resources/shared/js/cr/ui/command.js (working copy)
@@ -282,7 +282,7 @@
return this.canExecute_;
},
set canExecute(canExecute) {
- this.canExecute_ = canExecute;
+ this.canExecute_ = !!canExecute;
this.stopPropagation();
}
};
« no previous file with comments | « chrome/browser/resources/shared/css/menu.css ('k') | chrome/browser/resources/shared/js/cr/ui/position_util.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698