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

Unified Diff: chrome/browser/resources/ntp/apps.js

Issue 7552036: Fixed apps uninstall in NTP. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Rebased Created 9 years, 4 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/ntp/apps.js
diff --git a/chrome/browser/resources/ntp/apps.js b/chrome/browser/resources/ntp/apps.js
index ffab6f87f70a662a2ba5b195d1f4d81b95253079..53055e43728e6ac1b617ee76dce85930a0026f62 100644
--- a/chrome/browser/resources/ntp/apps.js
+++ b/chrome/browser/resources/ntp/apps.js
@@ -357,6 +357,7 @@ var apps = (function() {
$('apps-launch-command').label = app['name'];
$('apps-options-command').canExecuteChange();
+ $('apps-uninstall-command').canExecuteChange();
var launchTypeEl;
if (el.getAttribute('app-id') === app['id']) {
@@ -425,7 +426,7 @@ var apps = (function() {
e.canExecute = true;
break;
case 'apps-uninstall-command':
- e.canExecute = currentApp && !currentApp['can_uninstall'];
+ e.canExecute = currentApp && currentApp['can_uninstall'];
break;
}
});
« 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