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>
{{#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}}
<i class="fw {{iconFont}}"></i>
{{else}}

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

@ -1128,7 +1128,7 @@
<javax.ws.rs.version>1.1.1</javax.ws.rs.version>
<!-- 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 App Management -->

Loading…
Cancel
Save