Merge pull request #676 from madhawap/master

Fix for disabling reboot and upgrade-firmware operations on UI
revert-dabc3590
Ayyoob Hamza 8 years ago committed by GitHub
commit 4b40bf7ac7

@ -36,7 +36,7 @@
} }
</style> </style>
{{#each controlOperations}} {{#each controlOperations}}
<a href="javascript:operationSelect('{{operation}}')"> <a {{#unless isDisabled}} href="javascript:operationSelect('{{operation}}')" {{else}} href="javascript:void(0)" class="op-disabled"{{/unless}}>
{{#if iconFont}} {{#if iconFont}}
<i class="fw {{iconFont}}"></i> <i class="fw {{iconFont}}"></i>
{{else}} {{else}}

@ -68,10 +68,12 @@
}, },
"DEVICE_REBOOT": { "DEVICE_REBOOT": {
"icon": "fw-refresh", "icon": "fw-refresh",
"isDisabled" : true,
"permission": "/device-mgt/devices/owning-device/operations/android/reboot" "permission": "/device-mgt/devices/owning-device/operations/android/reboot"
}, },
"UPGRADE_FIRMWARE": { "UPGRADE_FIRMWARE": {
"icon": "fw-hardware", "icon": "fw-hardware",
"isDisabled" : true,
"formParams": [ "formParams": [
{ {
"type": "checkbox", "type": "checkbox",

@ -1128,7 +1128,7 @@
<javax.ws.rs.version>1.1.1</javax.ws.rs.version> <javax.ws.rs.version>1.1.1</javax.ws.rs.version>
<!-- Carbon Device Management --> <!-- Carbon Device Management -->
<carbon.devicemgt.version>2.0.58</carbon.devicemgt.version> <carbon.devicemgt.version>2.0.68</carbon.devicemgt.version>
<carbon.devicemgt.version.range>[2.0.0, 3.0.0)</carbon.devicemgt.version.range> <carbon.devicemgt.version.range>[2.0.0, 3.0.0)</carbon.devicemgt.version.range>
<!-- Carbon App Management --> <!-- Carbon App Management -->

Loading…
Cancel
Save