1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

bug #3912: Rename commonAction.delete to del

This commit is contained in:
Daniel Molina 2015-08-21 10:55:36 +02:00
parent c70959f3d8
commit 79b04e4f03
4 changed files with 5 additions and 5 deletions

View File

@ -47,7 +47,7 @@ define(function(require) {
var _actions = {
"Service.show" : _commonActions.show(),
"Service.refresh" : _commonActions.refresh(),
"Service.delete" : _commonActions.delete(),
"Service.delete" : _commonActions.del(),
"Service.chown": _commonActions.multipleAction('chown'),
"Service.chgrp": _commonActions.multipleAction('chgrp'),
"Service.chmod": _commonActions.singleAction('chmod'),

View File

@ -17,7 +17,7 @@ define(function(require) {
var _actions = {
"ServiceTemplate.show" : _commonActions.show(),
"ServiceTemplate.refresh" : _commonActions.refresh(),
"ServiceTemplate.delete" : _commonActions.delete(),
"ServiceTemplate.delete" : _commonActions.del(),
"ServiceTemplate.chown": _commonActions.multipleAction('chown'),
"ServiceTemplate.chgrp": _commonActions.multipleAction('chgrp'),
"ServiceTemplate.chmod": _commonActions.singleAction('chmod'),

View File

@ -24,7 +24,7 @@ define(function(require) {
"VM.list": _commonActions.list(),
"VM.show": _commonActions.show(),
"VM.refresh": _commonActions.refresh(),
"VM.delete": _commonActions.delete(),
"VM.delete": _commonActions.del(),
"VM.chown": _commonActions.multipleAction('chown'),
"VM.chgrp": _commonActions.multipleAction('chgrp'),

View File

@ -16,7 +16,7 @@ define(function(require) {
CommonActions.prototype.list = _list;
CommonActions.prototype.show = _show;
CommonActions.prototype.refresh = _refresh;
CommonActions.prototype.delete = _delete;
CommonActions.prototype.del = _del;
CommonActions.prototype.multipleAction = _multipleAction;
CommonActions.prototype.singleAction = _singleAction;
@ -66,7 +66,7 @@ define(function(require) {
}
}
function _delete() {
function _del() {
var that = this;
return {
type: "multiple",