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

Unified Diff: chrome/browser/resources/options2/options_page.js

Issue 10680010: Fix overlay display in certificate options. (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 | « 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/options2/options_page.js
diff --git a/chrome/browser/resources/options2/options_page.js b/chrome/browser/resources/options2/options_page.js
index c42cac4583d6d3f2a976b55355954c01ff56e86b..eead8a75c5f9a1f95762c3251ecf5c80cfdc4309 100644
--- a/chrome/browser/resources/options2/options_page.js
+++ b/chrome/browser/resources/options2/options_page.js
@@ -779,9 +779,11 @@ cr.define('options', function() {
if (visible) {
uber.invokeMethodOnParent('beginInterceptingEvents');
this.pageDiv.removeAttribute('aria-hidden');
- this.parentPage.pageDiv.setAttribute('aria-hidden', true);
+ if (this.parentPage)
+ this.parentPage.pageDiv.setAttribute('aria-hidden', true);
} else {
- this.parentPage.pageDiv.removeAttribute('aria-hidden');
+ if (this.parentPage)
+ this.parentPage.pageDiv.removeAttribute('aria-hidden');
}
if (container.hidden != visible) {
« 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