jQuery modernization : removed and replaced calls to deprecated methods in jquery 1.12.4

SVN:trunk[5358]
This commit is contained in:
Stephen Abello
2018-02-22 09:24:42 +00:00
parent ebb541e4f5
commit 862d08f57d
9 changed files with 370 additions and 373 deletions

View File

@@ -187,7 +187,7 @@ $(function()
// Check if we need to save the settings or not...
var oSaveCheck = $('#datatable_dlg_'+sListId).find('input[name=save_settings]');
var oSaveScope = $('#datatable_dlg_'+sListId).find('input[name=scope]:checked');
if (oSaveCheck.attr('checked'))
if (oSaveCheck.prop('checked'))
{
if (oSettings.val() == 'defaults')
{
@@ -209,14 +209,14 @@ $(function()
{
var sId = new String(this.element.attr('id'));
var sListId = sId.replace('datatable_', '');
$('#datatable_dlg_'+sListId).find('input.specific_settings').attr('checked', 'checked');
$('#datatable_dlg_'+sListId).find('input.specific_settings').prop('checked', true);
},
_updateSaveScope: function()
{
var sId = new String(this.element.attr('id'));
var sListId = sId.replace('datatable_', '');
var oSaveCheck = $('#datatable_dlg_'+sListId).find('input[name=save_settings]');
if (oSaveCheck.attr('checked'))
if (oSaveCheck.prop('checked'))
{
$('#datatable_dlg_'+sListId).find('input[name=scope]').each(function() {
if ($(this).attr('stay-disabled') != 'true')