mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 01:54:49 +00:00
mvc/bootgrid, use std_bootgrid_reload in stead of .bootgrid("reload"); closes https://github.com/opnsense/core/issues/2576
This commit is contained in:
parent
7ee9d6ec58
commit
fe0a025d09
@ -246,7 +246,7 @@ $.fn.UIBootgrid = function (params) {
|
||||
ajaxCall(url=gridParams['del'] + uuid,
|
||||
sendData={},callback=function(data,status){
|
||||
// reload grid after delete
|
||||
$("#"+gridId).bootgrid("reload");
|
||||
std_bootgrid_reload(gridId);
|
||||
});
|
||||
});
|
||||
} else {
|
||||
@ -292,7 +292,7 @@ $.fn.UIBootgrid = function (params) {
|
||||
saveFormToEndpoint(url=gridParams['add'],
|
||||
formid='frm_' + editDlg, callback_ok=function(){
|
||||
$("#"+editDlg).modal('hide');
|
||||
$("#"+gridId).bootgrid("reload");
|
||||
std_bootgrid_reload(gridId);
|
||||
}, true);
|
||||
});
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user