Skip to content

Commit

Permalink
Merge pull request #6185 from guerler/fix_repeat_inputs
Browse files Browse the repository at this point in the history
[18.05] Fix repeated inputs
  • Loading branch information
martenson committed May 21, 2018
2 parents 805854a + fcde0d6 commit 49c824c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/galaxy/scripts/mvc/form/form-section.js
Expand Up @@ -26,7 +26,8 @@ var View = Backbone.View.extend({
},

/** Add a new input element */
add: function(input_def) {
add: function(input) {
var input_def = jQuery.extend({}, input);
input_def.id = Utils.uid();
this.app.input_list[input_def.id] = input_def;
switch (input_def.type) {
Expand Down

0 comments on commit 49c824c

Please sign in to comment.