Merge branch 'kiosk-policy-ui' into 'master'

Kiosk Policy UI - Tenant domain changes

See merge request entgra/carbon-device-mgt-plugins!25
revert-dabc3590
Saad Sahibjan 6 years ago
commit 59a4d9d034

@ -509,6 +509,7 @@ var androidOperationModule = function () {
deviceGlobalConfigurations["displayOrientation"] = operationData["displayOrientation"];
if (deviceGlobalConfigurations["isMultiUserDevice"] === true) {
deviceGlobalConfigurations["isLoginRequired"] = operationData["isLoginRequired"];
deviceGlobalConfigurations["tenantDomainName"] = $("#logged-in-user").data("domain");
var storeApps = $("#cosu-profile-app-configs-storeapps").data("storeapps");
var primaryUserApps = {
"username" : "primaryUser",
@ -522,7 +523,7 @@ var androidOperationModule = function () {
userAppConfigurations[index]["visibleAppList"].split(/,(?![^{]*})/)
.map(function (item) {
var packageName = item.trim();
if (packageName) {
if (packageName && storeApps) {
var i;
for (i=0; i<storeApps.length; i++) {
if (packageName === storeApps[i]["packageName"]) {

@ -1779,7 +1779,7 @@
</label>
</div>
<div id="cosu-global-config-multi-user-enabled"
class="panel-collapse panel-body collapse-config specific-cosu-global-config-multi-user-enabled"
class="panel-collapse panel-body collapse-config"
role="tabpanel" style="display: none;">
<div class="wr-input-control">
<label class="wr-input-control checkbox">

@ -1509,7 +1509,9 @@
</label>
</div>
<div id="cosu-global-config-multi-user-enabled"
class="panel-collapse panel-body collapse-config specific-cosu-global-config-multi-user-enabled" role="tabpanel" style="display: none;">
class="panel-collapse panel-body collapse-config"
role="tabpanel"
style="display: none;">
<div class="wr-input-control">
<label class="wr-input-control checkbox">
<input id="cosu-global-config-is-is-login-required" type="checkbox"

Loading…
Cancel
Save