diff --git a/src/cloud/occi/lib/ui/public/js/plugins/compute.js b/src/cloud/occi/lib/ui/public/js/plugins/compute.js index e69b818ff0..e8dc78dfb4 100644 --- a/src/cloud/occi/lib/ui/public/js/plugins/compute.js +++ b/src/cloud/occi/lib/ui/public/js/plugins/compute.js @@ -311,15 +311,6 @@ var vm_actions = { notify: true }, - "VM.poweron" : { //restart alias - type: "multiple", - call: OCCI.VM.restart, - callback: updateVMachineElement, - elements: vmElements, - error: onError, - notify: true - }, - "VM.poweroff" : { type: "multiple", call: OCCI.VM.poweroff, @@ -409,11 +400,6 @@ var vm_buttons = { text: tr("Resubmit"), tip: tr("This will resubmits VMs to PENDING state") }, - "VM.poweron" : { - type : "confirm", - text: tr("Power On"), - tip: tr("This will start on powered off machines") - }, "VM.poweroff" : { type : "confirm", text: tr("Power Off"), diff --git a/src/sunstone/public/js/plugins/vms-tab.js b/src/sunstone/public/js/plugins/vms-tab.js index 3f0837280f..a00cf0b594 100644 --- a/src/sunstone/public/js/plugins/vms-tab.js +++ b/src/sunstone/public/js/plugins/vms-tab.js @@ -343,15 +343,6 @@ var vm_actions = { notify: true }, - "VM.poweron" : { // alias for restart - type: "multiple", - call: OpenNebula.VM.restart, - callback: vmShow, - elements: vmElements, - error: onError, - notify: true - }, - "VM.poweroff" : { type: "multiple", call: OpenNebula.VM.poweroff, @@ -600,11 +591,6 @@ var vm_buttons = { text: tr("Resubmit"), tip: tr("This will resubmits VMs to PENDING state") }, - "VM.poweron" : { - type : "confirm", - text: tr("Power On"), - tip: tr("This will start on powered off machines") - }, "VM.poweroff" : { type : "confirm", text: tr("Power Off"),