mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 13:50:20 +08:00
fix image proxy prefix in tool form
alternatively I think this could be fixed at the point when this image url is being generated on backend
This commit is contained in:
@@ -268,6 +268,9 @@ define( [ 'utils/utils', 'utils/deferred', 'mvc/ui/ui-misc', 'mvc/form/form-view
|
||||
_templateHelp: function( options ) {
|
||||
var $tmpl = $( '<div/>' ).addClass( 'ui-form-help' ).append( options.help );
|
||||
$tmpl.find( 'a' ).attr( 'target', '_blank' );
|
||||
_.each($tmpl.find("img"), function(img) {
|
||||
$(img).attr("src", Galaxy.root + $(img).attr("src"));
|
||||
});
|
||||
return $tmpl;
|
||||
},
|
||||
|
||||
|
||||
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