Fix option MAIN_USE_JQUERY_JEDITABLE

This commit is contained in:
Laurent Destailleur
2017-12-20 13:17:21 +01:00
parent b1f98b5903
commit ca8ae3c723
5 changed files with 68 additions and 50 deletions

View File

@@ -424,7 +424,7 @@
});
/* otherwise use button with given string as text */
} else {
var submit = $('<button type="submit" />');
var submit = $('<button class="button" type="submit" />');
submit.html(settings.submit);
}
$(this).append(submit);
@@ -435,7 +435,7 @@
var cancel = $(settings.cancel);
/* otherwise use button with given string as text */
} else {
var cancel = $('<button type="cancel" />');
var cancel = $('<button class="button" type="cancel" />');
cancel.html(settings.cancel);
}
$(this).append(cancel);