trackster: Fix page switch links breaking in Add Tracks menu, restore Last Updated column

This commit is contained in:
Kanwei Li
2011-04-18 14:35:14 -04:00
parent 96ef29d991
commit 51acb08b30
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -60,6 +60,7 @@ class HistorySelectionGrid( grids.Grid ):
datasets_param = "f-history"
columns = [
NameColumn( "History Name", key="name", filterable="standard" ),
grids.GridColumn( "Last Updated", key="update_time", format=time_ago ),
DbKeyPlaceholderColumn( "Dbkey", key="dbkey", model_class=model.HistoryDatasetAssociation, visible=False )
]
num_rows_per_page = 10
+1 -1
View File
@@ -12,7 +12,7 @@ ${grid_javascripts()}
<script type="text/javascript">
// Handle all label clicks.
var f = function() {
$(".addtracktab, #grid-table-body a").click(function() {
$(".addtracktab, #grid-table a").click(function() {
var parent_body = $(".divider").parent();
if (parent_body.length !== 0) {
parent_body.load($(this).attr("href"));