Fixes <param argument="--set" /> not working when help="" is not set

This commit is contained in:
y.hoogstrate@erasmusmc.nl
2016-02-02 16:05:53 +01:00
parent 3deb005e99
commit 8cee212708
+3 -3
View File
@@ -109,9 +109,9 @@ define([], function() {
tmp += '<div class="ui-form-info">';
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 += '</div>' +
'<div class="ui-form-backdrop"/>' +