mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge pull request #371 from DimalChandrasiri/master
Datatables serverside paging redirection bug fix
This commit is contained in:
commit
31f9134bac
@ -35,7 +35,7 @@ $.fn.datatables_extended_serverside_paging = function (settings , url, dataFilte
|
|||||||
|
|
||||||
// EMM related function
|
// EMM related function
|
||||||
if (InitiateViewOption) {
|
if (InitiateViewOption) {
|
||||||
$(".viewEnabledIcon").bind("click", InitiateViewOption);
|
$(document).on('click','.viewEnabledIcon',InitiateViewOption);
|
||||||
}
|
}
|
||||||
|
|
||||||
var deviceType;
|
var deviceType;
|
||||||
@ -239,14 +239,14 @@ $.fn.datatables_extended_serverside_paging = function (settings , url, dataFilte
|
|||||||
$(button).addClass("active").html('Cancel');
|
$(button).addClass("active").html('Cancel');
|
||||||
$(button).parent().next().children("button").removeClass("disabled");
|
$(button).parent().next().children("button").removeClass("disabled");
|
||||||
// EMM related code
|
// EMM related code
|
||||||
$(".viewEnabledIcon").unbind("click");
|
$(document).off('click','.viewEnabledIcon');
|
||||||
//--- End of EMM related codes
|
//--- End of EMM related codes
|
||||||
} else if ($(button).html() == 'Cancel') {
|
} else if ($(button).html() == 'Cancel') {
|
||||||
thisTable.removeClass("table-selectable");
|
thisTable.removeClass("table-selectable");
|
||||||
$(button).addClass("active").html('Select');
|
$(button).addClass("active").html('Select');
|
||||||
$(button).parent().next().children().addClass("disabled");
|
$(button).parent().next().children().addClass("disabled");
|
||||||
// EMM related function
|
// EMM related function
|
||||||
$(".viewEnabledIcon").bind("click", InitiateViewOption);
|
$(document).on('click','.viewEnabledIcon',InitiateViewOption);
|
||||||
//--- End of EMM related codes
|
//--- End of EMM related codes
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user