Add type="button" to all buttons.

The default is `type="submit"`.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
XhmikosR
2020-05-11 16:57:20 +03:00
parent c2f3baf25e
commit 43151d3c43
16 changed files with 28 additions and 29 deletions

View File

@@ -69,7 +69,7 @@ $(document).ready(function () {
$("td:eq(3)", row).empty();
if (data.id !== 0) {
var button =
'<button class="btn btn-danger btn-xs" type="button" id="deleteGroup_' +
'<button type="button" class="btn btn-danger btn-xs" id="deleteGroup_' +
data.id +
'">' +
'<span class="far fa-trash-alt"></span>' +