mirror of
https://github.com/arcan1s/ffxivbis.git
synced 2025-07-12 05:15:50 +00:00
move modals to form validation
This commit is contained in:
@ -37,7 +37,7 @@ function loadTypes(url, selector) {
|
||||
}
|
||||
|
||||
function setupFormClear(dialog, reset) {
|
||||
dialog.on("shown.bs.modal", function () {
|
||||
dialog.on("hide.bs.modal", function () {
|
||||
$(this).find("form").trigger("reset");
|
||||
$(this).find("table").bootstrapTable("removeAll");
|
||||
if (reset) {
|
||||
|
Reference in New Issue
Block a user