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

Unified Diff: chrome/browser/resources/settings/device_page/device_page.html

Issue 2715403005: MD Settings Fix associated-control for bluetooth, people, device subpage (Closed)
Patch Set: Created 3 years, 10 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/settings/device_page/device_page.html
diff --git a/chrome/browser/resources/settings/device_page/device_page.html b/chrome/browser/resources/settings/device_page/device_page.html
index c71eb7866fb533d037e5e5d296fbd905a08bf158..9710f490b427065c104043287715b5e34ed55677 100644
--- a/chrome/browser/resources/settings/device_page/device_page.html
+++ b/chrome/browser/resources/settings/device_page/device_page.html
@@ -101,12 +101,14 @@
<settings-keyboard prefs="{{prefs}}"></settings-keyboard>
</settings-subpage>
</template>
- <template is="dom-if" route-path="/stylus">
- <settings-subpage
- associated-control="[[$$('#stylusRow')]]"
- page-title="$i18n{stylusTitle}">
- <settings-stylus prefs="{{prefs}}"></settings-stylus>
- </settings-subpage>
+ <template is="dom-if" if="[[hasStylus_]]">
+ <template is="dom-if" route-path="/stylus">
jdufault 2017/02/28 23:41:00 Does navigating directly to the stylus subpage wor
stevenjb 2017/03/01 00:03:16 Yes, the stylus page is fine. The problem is that
stevenjb 2017/03/01 00:10:33 I just realized I answered the wrong question :)
stevenjb 2017/03/01 00:31:37 OK, I looked at this some more and understand why
+ <settings-subpage
+ associated-control="[[$$('#stylusRow')]]"
+ page-title="$i18n{stylusTitle}">
+ <settings-stylus prefs="{{prefs}}"></settings-stylus>
+ </settings-subpage>
+ </template>
</template>
<template is="dom-if" route-path="/display">
<settings-subpage

Powered by Google App Engine
This is Rietveld 408576698