N°2847 - Tranform old itop datatable to jquery DataTable - Fix management of button "Add"

This commit is contained in:
acognet
2020-11-23 19:59:55 +01:00
parent dccffc91b1
commit 11b6429e3c
5 changed files with 98 additions and 105 deletions

View File

@@ -262,7 +262,7 @@ function UpdateFileName(id, sNewFileName) {
* Reload a search form for the specified class
*/
function ReloadSearchForm(divId, sClassName, sBaseClass, sContext, sTableId, sExtraParams) {
var oDiv = $('#'+divId);
var oDiv = $('#'+divId).parent();
oDiv.block();
// deprecated in jQuery 1.8
//var oFormEvents = $('#ds_'+divId+' form').data('events');