Skip to content

Commit

Permalink
Avoid overlapping change handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed May 21, 2018
1 parent 258c4a4 commit fcde0d6
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 fcde0d6

Please sign in to comment.