diff --git a/static/js/api/pandora.js b/static/js/api/pandora.js index fe063b8a..881c804a 100755 --- a/static/js/api/pandora.js +++ b/static/js/api/pandora.js @@ -68,7 +68,7 @@ var app = new Ox.App({ }); function constructList() { - return new Ox.TextList({ + return new Ox.TableList({ columns: [ { align: "left", diff --git a/static/js/pandora/filesView.js b/static/js/pandora/filesView.js index 154e20a1..9904dc2d 100644 --- a/static/js/pandora/filesView.js +++ b/static/js/pandora/filesView.js @@ -73,7 +73,7 @@ pandora.ui.filesView = function(options, self) { } }); - self.$filesList = Ox.TextList({ + self.$filesList = Ox.TableList({ columns: [ { clickable: function(data) { @@ -235,7 +235,7 @@ pandora.ui.filesView = function(options, self) { select: selectFiles }); - self.$instancesList = Ox.TextList({ + self.$instancesList = Ox.TableList({ columns: [ { align: 'left', diff --git a/static/js/pandora/filter.js b/static/js/pandora/filter.js index 47589153..6784c729 100644 --- a/static/js/pandora/filter.js +++ b/static/js/pandora/filter.js @@ -6,7 +6,7 @@ pandora.ui.filter = function(id) { panelWidth = pandora.$ui.document.width() - (pandora.user.ui.showSidebar * pandora.user.ui.sidebarSize) - 1, title = Ox.getObjectById(pandora.site.filters, id).title, //width = pandora.getFilterWidth(i, panelWidth), - that = Ox.TextList({ + that = Ox.TableList({ _selected: !pandora.user.ui.showFilters ? pandora.user.ui._filterState[i].selected : false, diff --git a/static/js/pandora/folderBrowserList.js b/static/js/pandora/folderBrowserList.js index 4f9a655e..a940e8a3 100644 --- a/static/js/pandora/folderBrowserList.js +++ b/static/js/pandora/folderBrowserList.js @@ -5,7 +5,7 @@ pandora.ui.folderBrowserList = function(id) { // but resizeFolders will set them to different widths var columnWidth = (pandora.user.ui.sidebarSize - Ox.UI.SCROLLBAR_SIZE - 96) / 2, i = Ox.getIndexById(pandora.site.sectionFolders[pandora.user.ui.section], id), - that = Ox.TextList({ + that = Ox.TableList({ columns: [ { clickable: true, diff --git a/static/js/pandora/folderList.js b/static/js/pandora/folderList.js index 4eee04c4..f54546a3 100644 --- a/static/js/pandora/folderList.js +++ b/static/js/pandora/folderList.js @@ -240,7 +240,7 @@ pandora.ui.folderList = function(id) { }, 1000); }; } - that = Ox.TextList({ + that = Ox.TableList({ columns: columns, items: items, keys: ['query'], diff --git a/static/js/pandora/list.js b/static/js/pandora/list.js index 518a8b67..aa95efea 100644 --- a/static/js/pandora/list.js +++ b/static/js/pandora/list.js @@ -7,7 +7,7 @@ pandora.ui.list = function() { preview = false; if (view == 'list') { - that = Ox.TextList({ + that = Ox.TableList({ columns: [].concat([{ align: 'center', defaultWidth: 16, diff --git a/static/js/pandora/logsDialog.js b/static/js/pandora/logsDialog.js index a59cd60d..a271caa9 100644 --- a/static/js/pandora/logsDialog.js +++ b/static/js/pandora/logsDialog.js @@ -51,7 +51,7 @@ pandora.ui.logsDialog = function() { }) .css({float: 'right', margin: '4px'}), - $list = Ox.TextList({ + $list = Ox.TableList({ columns: [ { id: 'id', diff --git a/static/js/pandora/namesDialog.js b/static/js/pandora/namesDialog.js index 4d4e9af4..ccb4df9c 100644 --- a/static/js/pandora/namesDialog.js +++ b/static/js/pandora/namesDialog.js @@ -30,7 +30,7 @@ pandora.ui.namesDialog = function() { } }), - $list = Ox.TextList({ + $list = Ox.TableList({ columns: [ { id: 'id', diff --git a/static/js/pandora/titlesDialog.js b/static/js/pandora/titlesDialog.js index 6ee5e36f..a09e5422 100644 --- a/static/js/pandora/titlesDialog.js +++ b/static/js/pandora/titlesDialog.js @@ -28,7 +28,7 @@ pandora.ui.titlesDialog = function() { } }), - $list = Ox.TextList({ + $list = Ox.TableList({ columns: [ { id: 'id', diff --git a/static/js/pandora/usersDialog.js b/static/js/pandora/usersDialog.js index 5880b7b2..4ed67c9e 100644 --- a/static/js/pandora/usersDialog.js +++ b/static/js/pandora/usersDialog.js @@ -93,7 +93,7 @@ pandora.ui.usersDialog = function() { }) .css({float: 'right', margin: '4px'}), - $list = Ox.TextList({ + $list = Ox.TableList({ columns: [ { id: 'id',