mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
removing duplicate methoads
This commit is contained in:
parent
7b3db2bdd6
commit
7698c12d80
@ -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.
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user