mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Adjust existing urls to new client side route
This commit is contained in:
@@ -93,7 +93,7 @@ var Collection = Backbone.Collection.extend({
|
||||
this.add({
|
||||
id : 'visualization',
|
||||
title : _l('Visualization'),
|
||||
url : 'visualization/list',
|
||||
url : 'visualizations/list',
|
||||
tooltip : _l('Visualize datasets'),
|
||||
disabled : !Galaxy.user.id,
|
||||
menu : [{
|
||||
|
||||
@@ -1133,7 +1133,7 @@ var Circster = Backbone.View.extend(
|
||||
{
|
||||
icon_class: 'cross-circle', title: 'Close', on_click: function()
|
||||
{
|
||||
window.location = Galaxy.root + "visualization/list";
|
||||
window.location = Galaxy.root + "visualizations/list";
|
||||
}
|
||||
}], { tooltip_config: { placement: 'bottom' } });
|
||||
|
||||
|
||||
@@ -390,7 +390,7 @@ var TracksterView = Backbone.View.extend( {
|
||||
),
|
||||
buttons : {
|
||||
"Cancel": function() {
|
||||
window.location = Galaxy.root + "visualization/list";
|
||||
window.location = Galaxy.root + "visualizations/list";
|
||||
},
|
||||
"View in saved visualization": function() {
|
||||
self.view_in_saved( dataset_params );
|
||||
@@ -414,7 +414,7 @@ var TracksterView = Backbone.View.extend( {
|
||||
body : tracks_grid.$el,
|
||||
buttons : {
|
||||
"Cancel": function() {
|
||||
window.location = Galaxy.root + "visualization/list";
|
||||
window.location = Galaxy.root + "visualizations/list";
|
||||
},
|
||||
"Add to visualization": function() {
|
||||
$(parent.document).find('input[name=id]:checked').each(function() {
|
||||
@@ -459,7 +459,7 @@ var TracksterView = Backbone.View.extend( {
|
||||
title : "New Visualization",
|
||||
body : self.template_view_new(response),
|
||||
buttons : {
|
||||
"Cancel": function() { window.location = Galaxy.root + "visualization/list"; },
|
||||
"Cancel": function() { window.location = Galaxy.root + "visualizations/list"; },
|
||||
"Create": function() { self.create_browser($("#new-title").val(), $("#new-dbkey").val()); Galaxy.modal.hide(); }
|
||||
}
|
||||
});
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user