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

Unified Diff: chrome/browser/resources/help/help.js

Issue 10539114: Revert 141693 - Add relaunch prompt to linux help page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 | « chrome/browser/resources/help/help.html ('k') | chrome/browser/ui/webui/help/help_browsertest.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/help/help.js
===================================================================
--- chrome/browser/resources/help/help.js (revision 141708)
+++ chrome/browser/resources/help/help.js (working copy)
@@ -112,16 +112,17 @@
} else if (status == 'failed') {
this.setUpdateImage_('failed');
$('update-status').innerHTML = message;
+ } else if (status == 'disabled') {
+ var container = $('update-status-container');
+ if (container)
+ container.hidden = true;
+ return;
}
- var container = $('update-status-container');
- if (container) {
- container.hidden = status == 'disabled';
- $('relaunch').hidden = status != 'nearly_updated';
+ if (!cr.isMac)
+ $('update-percentage').hidden = status != 'updating';
- if (!cr.isMac)
- $('update-percentage').hidden = status != 'updating';
- }
+ $('relaunch').hidden = status != 'nearly_updated';
},
/**
« no previous file with comments | « chrome/browser/resources/help/help.html ('k') | chrome/browser/ui/webui/help/help_browsertest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698