Adjust existing urls to new client side route

This commit is contained in:
guerler
2017-07-13 08:55:01 -04:00
parent ab56aad731
commit c272766107
11 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -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 : [{
+1 -1
View File
@@ -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' } });
+3 -3
View File
@@ -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