diff --git a/src/sunstone/public/app/tabs/oneflow-services-tab/actions.js b/src/sunstone/public/app/tabs/oneflow-services-tab/actions.js index 6fb756c172..a185eaada1 100644 --- a/src/sunstone/public/app/tabs/oneflow-services-tab/actions.js +++ b/src/sunstone/public/app/tabs/oneflow-services-tab/actions.js @@ -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'), diff --git a/src/sunstone/public/app/tabs/oneflow-templates-tab/actions.js b/src/sunstone/public/app/tabs/oneflow-templates-tab/actions.js index fd8e6e327f..47bd1d6189 100644 --- a/src/sunstone/public/app/tabs/oneflow-templates-tab/actions.js +++ b/src/sunstone/public/app/tabs/oneflow-templates-tab/actions.js @@ -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'), diff --git a/src/sunstone/public/app/tabs/vms-tab/actions.js b/src/sunstone/public/app/tabs/vms-tab/actions.js index 5db3d92c1e..1f0aaf33b9 100644 --- a/src/sunstone/public/app/tabs/vms-tab/actions.js +++ b/src/sunstone/public/app/tabs/vms-tab/actions.js @@ -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'), diff --git a/src/sunstone/public/app/utils/common-actions.js b/src/sunstone/public/app/utils/common-actions.js index e1344e43e7..3a5281c70f 100644 --- a/src/sunstone/public/app/utils/common-actions.js +++ b/src/sunstone/public/app/utils/common-actions.js @@ -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",