Commit fddcda21 authored by Bailey Berro's avatar Bailey Berro Committed by Commit Bot

Move Auto Open Downloads block into neon-animatable tag

This change fixes a https://crbug.com/851937 where users are unable to
clear auto-opening downloads settings.

Bug: chromium:851937
Test: verified manually
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: I263ef9497a8a9b298a3514404fc3f31a61393687
Reviewed-on: https://chromium-review.googlesource.com/1099693Reviewed-by: default avatarSteven Bennetts <stevenjb@chromium.org>
Reviewed-by: default avatarDemetrios Papadopoulos <dpapad@chromium.org>
Reviewed-by: default avatarZentaro Kavanagh <zentaro@chromium.org>
Commit-Queue: Bailey Berro <baileyberro@chromium.org>
Cr-Commit-Position: refs/heads/master@{#567299}
parent 52844296
...@@ -51,8 +51,6 @@ ...@@ -51,8 +51,6 @@
label="$i18n{disconnectGoogleDriveAccount}" label="$i18n{disconnectGoogleDriveAccount}"
hidden="[[!pageVisibility.googleDrive]]"> hidden="[[!pageVisibility.googleDrive]]">
</settings-toggle-button> </settings-toggle-button>
</if>
<if expr="chromeos">
<template is="dom-if" if="[[enableSmbSettings_]]"> <template is="dom-if" if="[[enableSmbSettings_]]">
<div id="smbShares" class="settings-box" <div id="smbShares" class="settings-box"
on-click="onTapSmbShares_" actionable> on-click="onTapSmbShares_" actionable>
...@@ -63,7 +61,6 @@ ...@@ -63,7 +61,6 @@
</div> </div>
</template> </template>
</if> </if>
</neon-animatable>
<template is="dom-if" if="[[autoOpenDownloads_]]" restamp> <template is="dom-if" if="[[autoOpenDownloads_]]" restamp>
<div class="settings-box"> <div class="settings-box">
<div class="start"> <div class="start">
...@@ -76,6 +73,8 @@ ...@@ -76,6 +73,8 @@
</paper-button> </paper-button>
</div> </div>
</template> </template>
</neon-animatable>
<if expr="chromeos"> <if expr="chromeos">
<template is="dom-if" route-path="/smbShares"> <template is="dom-if" route-path="/smbShares">
<settings-subpage <settings-subpage
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment