diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.types.listing/public/js/listing.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.types.listing/public/js/listing.js index 82f54ad0568..ea45adaf373 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.types.listing/public/js/listing.js +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.types.listing/public/js/listing.js @@ -41,11 +41,11 @@ $(document).ready(function () { /* for device list sorting drop down */ $(".ctrl-filter-type-switcher").popover({ - html : true, - content : function () { - return $("#content-filter-types").html(); - } - }); + html : true, + content : function () { + return $("#content-filter-types").html(); + } + }); $(".ast-container").on("click", ".claim-btn", function(e){ e.stopPropagation(); @@ -142,7 +142,13 @@ function loadDevices(searchType, searchParam){ } } else { $('#device-grid').addClass('hidden'); - $('#device-listing-status-msg').text('No device is available to be displayed.'); + $('#device-listing-status-msg').html( + '
'); } $(".icon .text").res_text(0.2); @@ -197,11 +203,11 @@ $(document).ready(function () { /* for device list sorting drop down */ $(".ctrl-filter-type-switcher").popover({ - html : true, - content : function () { - return $("#content-filter-types").html(); - } - }); + html : true, + content : function () { + return $("#content-filter-types").html(); + } + }); $(".ast-container").on("click", ".claim-btn", function(e){ e.stopPropagation(); @@ -223,17 +229,17 @@ $(document).ready(function () { $("[data-toggle=popover]").popover(); $(".ctrl-filter-type-switcher").popover({ - html : true, - content: function() { - return $('#content-filter-types').html(); - } - }); + html : true, + content: function() { + return $('#content-filter-types').html(); + } + }); $('#nav').affix({ - offset: { - top: $('header').height() - } - }); + offset: { + top: $('header').height() + } + }); $(document).on("click", "tr.clickable-row", function(){ window.document.location = $(this).data('href');