lcollong
FabriKant d'applications web
Hi,
I'm getting errors using autofill when displaying details view (some js is triggering event).
Actually, autofill should never trigger as element does not change.
However making the following mod take care of situation where autofill is triggered for "bad reason" without generating an error .
In file : plugins/fabrik_form/autofill/autofill.js :
Testing "form === false" on line 111 avoid to throw the error....
I'm getting errors using autofill when displaying details view (some js is triggering event).
Actually, autofill should never trigger as element does not change.
However making the following mod take care of situation where autofill is triggered for "bad reason" without generating an error .
In file : plugins/fabrik_form/autofill/autofill.js :
Code:
setUp: function (form) {
var self = this;
if (this.setupDone) {
return;
}
if (form === undefined || form === false) {
return;
}
try {
this.form = form;
} catch (err) {
// form_x not found (detailed view perhaps)
return;
}
Testing "form === false" on line 111 avoid to throw the error....