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

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

Issue 2614703003: [MD Bookmarks] Add search. (Closed)
Patch Set: Merge and fix closure. 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..23ed117febaaf2f877260436a156bec59318a842 100644
--- a/chrome/browser/resources/md_bookmarks/list.html
+++ b/chrome/browser/resources/md_bookmarks/list.html
@@ -67,14 +67,14 @@
</paper-button>
</div>
</dialog>
- <div id="bookmarksCard">
- <hidden$="[[isListEmpty_(selectedNode.children.length)]]">
- <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>
+ <!--TODO(angelayang): add message for no search results found-->
tsergeant 2017/01/12 06:45:05 You can get rid of this TODO
angelayang 2017/01/12 07:51:24 Done.
<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