mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
picked icon from features config
This commit is contained in:
parent
8a6af051dc
commit
20e7dd9e86
@ -73,7 +73,7 @@ var operationModule = function () {
|
||||
var features = utility.getDeviceTypeConfig(deviceType).deviceType.features;
|
||||
for (var op in operations) {
|
||||
var iconIdentifier = operations[op].operation;
|
||||
if (features[iconIdentifier]) {
|
||||
if (features && features[iconIdentifier]) {
|
||||
var icon = features[iconIdentifier].icon;
|
||||
if (icon) {
|
||||
operations[op]["iconFont"] = icon;
|
||||
|
||||
@ -59,7 +59,6 @@ function submitForm(formId) {
|
||||
contentType = "application/x-www-form-urlencoded";
|
||||
payload = uriencodedFormStr;
|
||||
}
|
||||
alert(featurePayload);
|
||||
//setting responses callbacks
|
||||
var defaultStatusClasses = "fw fw-stack-1x";
|
||||
var content = $("#operation-response-template").find(".content");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user