Force rescanning fields when submitting a form (fixes #243)

This commit is contained in:
Djamil Legato
2015-11-20 15:00:25 -08:00
parent 26e6c5de8f
commit 20a5c5d554

View File

@@ -282,6 +282,8 @@
};
Form.prototype.submit = function(ajax) {
// TODO: workaround, need to rework forms
this.scanned = false; // force to rescan items
var action = this.form.attr('action') || document.location,
method = this.form.attr('method') || 'POST',
values = {};