Trackster documentation.

This commit is contained in:
Jeremy Goecks
2011-07-22 10:15:37 -04:00
parent d6673895d4
commit f607243141
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ class LibrarySelectionGrid( LibraryListGrid ):
class DbKeyColumn( grids.GridColumn ):
""" Column for filtering by and displaying dataset dbkey. """
def filter( self, trans, user, query, dbkey ):
""" Filter by dbkey. """
""" Filter by dbkey; datasets without a dbkey are returned as well. """
# use raw SQL b/c metadata is a BLOB
dbkey = dbkey.replace("'", "\\'")
return query.filter( or_( \
+3
View File
@@ -825,6 +825,9 @@ extend( View.prototype, {
label_track.view = this;
this.label_tracks.push(label_track);
},
/**
* Remove a track from the view.
*/
remove_track: function(track) {
this.has_changes = true;
delete this.tracks[this.tracks.indexOf(track)];