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:
Martin Cech
2017-12-20 11:37:22 -05:00
parent 86ab6fd227
commit 40a5ddde01
6 changed files with 9 additions and 6 deletions
@@ -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