remove tables headers when there is no enroll devices in the system

revert-dabc3590
kamidu 8 years ago
parent c8e7ba4f54
commit 2486c3ff5d

@ -450,6 +450,7 @@ function initPage() {
loadDevices(); loadDevices();
} else { } else {
$("#loading-content").remove(); $("#loading-content").remove();
$("#device-table").remove();
$("#device-listing-status-msg").text("No enrolled device is found."); $("#device-listing-status-msg").text("No enrolled device is found.");
$("#device-listing-status").removeClass(' hidden'); $("#device-listing-status").removeClass(' hidden');
} }

Loading…
Cancel
Save