mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Fix app restrictions policy app update issue
This commit is contained in:
parent
fc1dab56bc
commit
e4e57fae36
@ -1167,20 +1167,6 @@ var androidOperationModule = function () {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// only for app whitelisting and black listing
|
|
||||||
if (operationCode == "APP-RESTRICTION" && key == "restrictedApplications") {
|
|
||||||
//remove elements before adding
|
|
||||||
$('[data-add-form-container="#restricted-applications-grid"]').empty();
|
|
||||||
|
|
||||||
var i;
|
|
||||||
for (i = 0; i < uiPayload.restrictedApplications.length; ++i) {
|
|
||||||
$('[data-add-form-container="#restricted-applications-grid"]').append('<tr>' +
|
|
||||||
'<th>'+ (i+1) +'</th> <th>' + uiPayload.restrictedApplications[i].appName +
|
|
||||||
'</th> <th>' + uiPayload.restrictedApplications[i].packageName + '</th></tr>');
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user