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

Unified Diff: chrome/browser/resources/shared/js/cr/ui/table/table_list.js

Issue 10991033: Use existing logic in list.js to correctly set aria-activedescandant for the file list. (Closed) Base URL: http://git.chromium.org/chromium/src.git@file-manager
Patch Set: Use |table.list| instead of |this|; avoid binding renderFunction to |this|. Created 8 years, 3 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/shared/js/cr/ui/table/table_list.js
diff --git a/chrome/browser/resources/shared/js/cr/ui/table/table_list.js b/chrome/browser/resources/shared/js/cr/ui/table/table_list.js
index c8b9b1a1f3dfdfb15e46fa1c514f98b951f5173f..a161e2943a3a2975e19a08e6a1b8dff0e0a4ec96 100644
--- a/chrome/browser/resources/shared/js/cr/ui/table/table_list.js
+++ b/chrome/browser/resources/shared/js/cr/ui/table/table_list.js
@@ -72,7 +72,7 @@ cr.define('cr.ui.table', function() {
renderFunction_: function(dataItem, table) {
var cm = table.columnModel;
- var listItem = new ListItem({label: ''});
+ var listItem = List.prototype.createItem.call(table.list, '');
listItem.className = 'table-row';
« 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