diff --git a/Views/FormView.js b/Views/FormView.js index 877c830..e6acd2a 100644 --- a/Views/FormView.js +++ b/Views/FormView.js @@ -153,6 +153,7 @@ const selects = form.getElementsByTagName('select'), textareas = form.getElementsByTagName('textarea'), inputs = [].slice.call(form.getElementsByTagName('input')), + buttons = form.getElementsByTagName('button'), canvas = form.getElementsByTagName('canvas'), external = document.querySelectorAll('[form=' + this.id + ']'), inputLength = inputs.length; @@ -169,6 +170,7 @@ Array.prototype.slice.call(inputs).concat( Array.prototype.slice.call(selects), Array.prototype.slice.call(textareas), + Array.prototype.slice.call(buttons), Array.prototype.slice.call(external) ) );