Skip to content

Commit

Permalink
Added install note to check GMOD wiki for install information, showHi…
Browse files Browse the repository at this point in the history
…deTrack now runs when sharing.
  • Loading branch information
Chris Vandevelde committed Nov 11, 2010
1 parent 4070139 commit 3e51b09
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bin/gbrowse_metadb_config.pl
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ sub check_files {
sub add_file {
my $uploadsdb = shift;
my $filename = shift;
my $imported = ($filename =~ /http_/)? 1 : 0;
my $imported = ($filename =~ /^(ftp|http|das)_/)? 1 : 0;
my $description = $uploadsdb->quote("");
my $uploadsid = shift;
my $shared = $uploadsdb->quote("private");
Expand Down
8 changes: 5 additions & 3 deletions htdocs/js/ajax_upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,10 @@ function shareFile(fileid, userid) {
sections.push(community_tracks_id);
Controller.update_sections(sections, "&offset=" + offset);
var tracks = transport.responseText.evalJSON(true).tracks;
if (tracks != null)
tracks.each(function(tid) { Controller.add_track(tid) });
if (tracks != null) {
Controller.add_tracks(tracks);
tracks.each(function(tid) { ShowHideTrack(tid, 1)});
}
}
}
);
Expand All @@ -419,7 +421,7 @@ function unshareFile(fileid, userid) {
Controller.update_sections(sections, "&offset=" + offset);
var tracks = transport.responseText.evalJSON(true).tracks;
if (tracks != null)
tracks.each(function(tid) { Controller.delete_track(tid) });
tracks.each(function(tid) { Controller.delete_tracks(tid) });
}
}
);
Expand Down
3 changes: 2 additions & 1 deletion install_util/GBrowseInstall.pm
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,8 @@ sub ACTION_install {
}

print STDERR "\n***INSTALLATION COMPLETE***\n";
print STDERR "Load http://localhost/$base for demo and documentation\n";
print STDERR "Load http://localhost/$base for demo and documentation.\n";
print STDERR "Visit the http://gmod.org for information on setting up databases for users and custom tracks.\n"
}

sub ACTION_install_slave {
Expand Down

0 comments on commit 3e51b09

Please sign in to comment.