|
|
|
@ -117,7 +117,9 @@ function addDeviceSelectedClass(checkbox) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function toTitleCase(str) {
|
|
|
|
|
return str.replace(/\w\S*/g, function(txt){return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase();});
|
|
|
|
|
return str.replace(/\w\S*/g, function (txt) {
|
|
|
|
|
return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase();
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var deviceTypeCount, compiledDeviceTypesCount = 0;
|
|
|
|
@ -126,10 +128,6 @@ function htmlspecialchars(text){
|
|
|
|
|
return jQuery('<div/>').text(text).html();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function htmlspecialchars(text){
|
|
|
|
|
return jQuery('<div/>').text(text).html();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function loadDevices(searchType, searchParam) {
|
|
|
|
|
var deviceListing = $("#device-listing");
|
|
|
|
|
var deviceListingSrc = deviceListing.attr("src");
|
|
|
|
@ -189,7 +187,6 @@ function openCollapsedNav(){
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* DOM ready functions.
|
|
|
|
|
*/
|
|
|
|
|