Commit 4b256e74 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(ui) fix bootgrid show order when editing data, first fill form, then show...

(ui) fix bootgrid show order when editing data, first fill form, then show data, makes binding to events easier.

(cherry picked from commit bd50b24a)
parent 38cbce1b
......@@ -148,7 +148,6 @@ $.fn.UIBootgrid = function (params) {
$('.selectpicker').selectpicker('refresh');
// clear validation errors (if any)
clearFormValidation('frm_' + editDlg);
});
// show dialog for pipe edit
$('#'+editDlg).modal({backdrop: 'static', keyboard: false});
......@@ -164,6 +163,7 @@ $.fn.UIBootgrid = function (params) {
console.log("[grid] action set missing")
}
});
});
} else {
console.log("[grid] action get or data-editDialog missing")
}
......@@ -182,7 +182,6 @@ $.fn.UIBootgrid = function (params) {
$('.selectpicker').selectpicker('refresh');
// clear validation errors (if any)
clearFormValidation('frm_' + editDlg);
});
// show dialog for pipe edit
$('#'+editDlg).modal({backdrop: 'static', keyboard: false});
......@@ -198,6 +197,7 @@ $.fn.UIBootgrid = function (params) {
console.log("[grid] action add missing")
}
});
});
} else {
console.log("[grid] action get or data-editDialog missing")
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment