|
|
@ -146,7 +146,7 @@ stepForwardFrom["policy-platform"] = function (actionButton) {
|
|
|
|
|
|
|
|
|
|
|
|
if (policyOperationsTemplateSrc) {
|
|
|
|
if (policyOperationsTemplateSrc) {
|
|
|
|
$.template(policyOperationsTemplateCacheKey, context + policyOperationsTemplateSrc, function (template) {
|
|
|
|
$.template(policyOperationsTemplateCacheKey, context + policyOperationsTemplateSrc, function (template) {
|
|
|
|
var content = template({"iscloud" : $("#logged-in-user").data("iscloud")});
|
|
|
|
var content = template({"iscloud" : $("#logged-in-user").data("iscloud"), "isDeviceOwnerEnabled" : $("#logged-in-user").data("isdeviceownerenabled")});
|
|
|
|
$("#device-type-policy-operations").html(content).removeClass("hidden");
|
|
|
|
$("#device-type-policy-operations").html(content).removeClass("hidden");
|
|
|
|
$(".policy-platform").addClass("hidden");
|
|
|
|
$(".policy-platform").addClass("hidden");
|
|
|
|
});
|
|
|
|
});
|
|
|
|