mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-06 14:20:55 +03:00
WebUI: fix draw events for datatables
sometimes the context menu was not working because the draw action was called too early Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -629,7 +629,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
||||
},
|
||||
});
|
||||
|
||||
dt.on('draw', drawAction);
|
||||
dt.on('draw.dt', drawAction);
|
||||
}
|
||||
|
||||
function drawAction() {
|
||||
@@ -815,7 +815,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
||||
},
|
||||
});
|
||||
|
||||
dt.on('draw', drawAction);
|
||||
dt.on('draw.dt', drawAction);
|
||||
}
|
||||
|
||||
function drawAction() {
|
||||
@@ -979,7 +979,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
||||
},
|
||||
});
|
||||
|
||||
dt.on('draw', drawAction);
|
||||
dt.on('draw.dt', drawAction);
|
||||
}
|
||||
|
||||
function drawAction() {
|
||||
|
||||
Reference in New Issue
Block a user