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

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

Issue 5976010: DOMUI Settings: UTH: Section seperators are wrong if the last section is hidden. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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/dom_ui/options/advanced_options_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/advanced_options.js
diff --git a/chrome/browser/resources/options/advanced_options.js b/chrome/browser/resources/options/advanced_options.js
index 0d52a907135d0d06878ca17b08b2fe58be7b3367..d6348ee8ea47c69c7635b8cadaa9d2c2db94790a 100644
--- a/chrome/browser/resources/options/advanced_options.js
+++ b/chrome/browser/resources/options/advanced_options.js
@@ -251,9 +251,10 @@ var OptionsPage = options.OptionsPage;
}
};
- AdvancedOptions.HideCloudPrintProxySection = function() {
+ AdvancedOptions.RemoveCloudPrintProxySection = function() {
if (!cr.isChromeOS) {
- $('cloud-print-proxy-section').style.display = 'none';
+ var proxySectionElm = $('cloud-print-proxy-section');
+ proxySectionElm.parentNode.removeChild(proxySectionElm);
}
};
« no previous file with comments | « chrome/browser/dom_ui/options/advanced_options_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698