Skip to content

Commit

Permalink
Merge pull request #4 from projecthydra/fix_clear_field
Browse files Browse the repository at this point in the history
Fix clear out field value
  • Loading branch information
jcoyne committed Jun 18, 2013
2 parents f599bf3 + 54329a1 commit be135dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/hydra-editor/multiForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

//clear out the value for the element being appended
//so the new element has a blank value
cloneElem.find('input[type=text]').attr("value", "");
cloneElem.find('input[type=text]').val("");
cloneElem.find('input[type=text]').attr("required", false);

if (settings.afterAdd) {
Expand Down

0 comments on commit be135dd

Please sign in to comment.