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

Unified Diff: chrome/browser/resources/md_bookmarks/list.html

Issue 2614703003: [MD Bookmarks] Add search. (Closed)
Patch Set: Fix bug in remove non-empty folder from search list. Created 3 years, 11 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/md_bookmarks/list.html
diff --git a/chrome/browser/resources/md_bookmarks/list.html b/chrome/browser/resources/md_bookmarks/list.html
index 8dd6be98a5cab1498a6e7c5d2c6d878b7536731b..2cc1dc0034202faea48c5b2b4d977dcf97bf77a8 100644
--- a/chrome/browser/resources/md_bookmarks/list.html
+++ b/chrome/browser/resources/md_bookmarks/list.html
@@ -67,14 +67,13 @@
</paper-button>
</div>
</dialog>
- <div id="bookmarksCard">
- <hidden$="[[isListEmpty_(selectedNode.children.length)]]">
tsergeant 2017/01/12 23:44:20 whoops
angelayang 2017/01/13 00:25:11 Done.
- <template is="dom-repeat" items="[[selectedNode.children]]" as="item">
+ <div id="bookmarksCard" hidden$="[[isListEmpty_(displayedList.length)]]">
+ <template is="dom-repeat" items="[[displayedList]]" as="item">
<bookmarks-item item="[[item]]"></bookmarks-item>
</template>
</div>
<div class="centered-message"
- hidden$="[[!isListEmpty_(selectedNode.children.length)]]">
+ hidden$="[[!isListEmpty_(displayedList.length)]]">
$i18n{emptyList}
</div>
</template>

Powered by Google App Engine
This is Rietveld 408576698