mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
trackster: Fix page switch links breaking in Add Tracks menu, restore Last Updated column
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user