Skip to content

Commit

Permalink
Fix bug with non-static-serving viz urls that was causing a browser c…
Browse files Browse the repository at this point in the history
…rash
  • Loading branch information
dannon authored and guerler committed Feb 11, 2018
1 parent e011371 commit a0fa190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/visualization/plugins/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def to_dict(self):
'settings' : self.config.get('settings'),
'groups' : self.config.get('groups'),
'specs' : self.config.get('specs'),
'static_url' : '/'.join(['plugins', self.static_url])
'static_url' : None if not self.serves_static else '/'.join(['plugins', self.static_url]) # Todo: refactor so this isn't generated here
}

def _get_saved_visualization_config(self, visualization, revision=None, **kwargs):
Expand Down

0 comments on commit a0fa190

Please sign in to comment.