diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.data-tables-extended/public/js/dataTables.extended.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.data-tables-extended/public/js/dataTables.extended.js
index a10ee0a5b5..ed736c01c6 100644
--- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.data-tables-extended/public/js/dataTables.extended.js
+++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.data-tables-extended/public/js/dataTables.extended.js
@@ -117,7 +117,8 @@ $.fn.datatables_extended = function (settings) {
}
else if (filterColumn.eq(column.index()).hasClass('text-filter')) {
var title = filterColumn.eq(column.index()).attr('data-for');
- $(filterColumn.eq(column.index()).empty()).html('');
+ $(filterColumn.eq(column.index()).empty()).html('');
filterColumn.eq(column.index()).find('input').on('keyup change', function () {
column.search($(this).val()).draw();
@@ -142,10 +143,12 @@ $.fn.datatables_extended = function (settings) {
*/
var table = this;
if (table.hasClass('sorting-enabled')) {
- var dropdownmenu = $('
');
+ var dropdownmenu = $('');
$('.sort-row th', elem).each(function () {
if (!$(this).hasClass('no-sort')) {
- dropdownmenu.append('' + $(this).html() + '');
+ dropdownmenu.append('' + $(this).html() + '');
}
});
}
@@ -266,7 +269,8 @@ $.fn.datatables_extended = function (settings) {
thisTable.api().rows().every(function () {
if (!$(this.node()).hasClass(rowSelectedClass)) {
- $(button).closest('.dataTables_wrapper').find('[data-click-event=toggle-selected]').html('Select All');
+ $(button).closest('.dataTables_wrapper').find('[data-click-event=toggle-selected]').
+ html('Select All');
}
});
});
diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.data-tables-extended/public/js/dataTables.extended.serversidepaging.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.data-tables-extended/public/js/dataTables.extended.serversidepaging.js
index 991e082153..836bef71cb 100644
--- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.data-tables-extended/public/js/dataTables.extended.serversidepaging.js
+++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.data-tables-extended/public/js/dataTables.extended.serversidepaging.js
@@ -190,7 +190,8 @@ $.fn.datatables_extended_serverside_paging = function (settings, url, dataFilter
});
} else if (filterColumn.eq(column.index()).hasClass('text-filter')) {
var title = filterColumn.eq(column.index()).attr('data-for');
- $(filterColumn.eq(column.index()).empty()).html('');
+ $(filterColumn.eq(column.index()).empty()).html('');
//noinspection SpellCheckingInspection
filterColumn.eq(column.index()).find('input').on('keyup', function () {
@@ -211,10 +212,12 @@ $.fn.datatables_extended_serverside_paging = function (settings, url, dataFilter
*/
var table = this;
if (table.hasClass('sorting-enabled')) {
- var dropdownmenu = $('');
+ var dropdownmenu = $('');
$('.sort-row th', elem).each(function () {
if (!$(this).hasClass('no-sort')) {
- dropdownmenu.append('' + $(this).html() + '');
+ dropdownmenu.append('' + $(this).html() + '');
}
});
}
@@ -335,7 +338,8 @@ $.fn.datatables_extended_serverside_paging = function (settings, url, dataFilter
thisTable.api().rows().every(function () {
if (!$(this.node()).hasClass(rowSelectedClass)) {
- $(button).closest('.dataTables_wrapper').find('[data-click-event=toggle-selected]').html('Select All');
+ $(button).closest('.dataTables_wrapper').find('[data-click-event=toggle-selected]').
+ html('Select All');
}
});
});