From 8cee212708f4de75c4bf066ac1dec0752bea0a5d Mon Sep 17 00:00:00 2001 From: "y.hoogstrate@erasmusmc.nl" Date: Tue, 2 Feb 2016 16:05:53 +0100 Subject: [PATCH] Fixes not working when help="" is not set --- client/galaxy/scripts/mvc/form/form-input.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/galaxy/scripts/mvc/form/form-input.js b/client/galaxy/scripts/mvc/form/form-input.js index 5f8659f1083..d3ab6fe688b 100644 --- a/client/galaxy/scripts/mvc/form/form-input.js +++ b/client/galaxy/scripts/mvc/form/form-input.js @@ -109,9 +109,9 @@ define([], function() { tmp += '
'; if (options.help) { tmp += options.help; - if (options.argument && options.help.indexOf('(' + options.argument + ')') == -1) { - tmp += ' (' + options.argument + ')'; - } + } + if (options.argument && options.help.indexOf('(' + options.argument + ')') == -1) { + tmp += ' (' + options.argument + ')'; } tmp += '
' + '
' +