Skip to content

Commit

Permalink
Fix for autofill (got broken during work on repeats)
Browse files Browse the repository at this point in the history
  • Loading branch information
cheesegrits committed Feb 19, 2018
1 parent 9a3aaed commit 2325588
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/fabrik_form/autofill/autofill-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions plugins/fabrik_form/autofill/autofill.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ define(['jquery', 'fab/fabrik'], function (jQuery, Fabrik) {
// A group has been duplicated
if (oEl.strElement === self.element.strElement) {
// The element is a clone of our observable element
// $$$ hugh - don't think we need to do this any more as events get cloned during group duplication
//self.element = false;
//self.setupDone = false;
//self.setUp(form);
Expand Down Expand Up @@ -149,6 +150,7 @@ define(['jquery', 'fab/fabrik'], function (jQuery, Fabrik) {
}
else {
this.attached.push(e.options.element);
self.newAttach.push(e.options.element);
}

this.element = e;
Expand Down

0 comments on commit 2325588

Please sign in to comment.