mirror of https://github.com/apache/cloudstack.git
Add tags to edit PF dialog
This commit is contained in:
parent
17ac3a7e3e
commit
06101ea27e
|
|
@ -2414,6 +2414,9 @@
|
|||
addButton: true
|
||||
}
|
||||
},
|
||||
|
||||
tags: cloudStack.api.tags({ resourceType: 'PortForwardingRule', contextId: 'multiRule' }),
|
||||
|
||||
add: {
|
||||
label: 'label.add.vm',
|
||||
action: function(args) {
|
||||
|
|
@ -2447,6 +2450,19 @@
|
|||
}
|
||||
},
|
||||
actions: {
|
||||
edit: {
|
||||
label: 'label.edit',
|
||||
|
||||
// Blank -- edit is just for tags right now
|
||||
action: function(args) {
|
||||
args.response.success({
|
||||
notification: {
|
||||
label: 'label.edit.pf',
|
||||
poll: function(args) { args.complete(); }
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
destroy: {
|
||||
label: 'label.remove.pf',
|
||||
action: function(args) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue