mirror of https://github.com/apache/cloudstack.git
Add tags to edit PF dialog
This commit is contained in:
parent
fe3454bb61
commit
c9b8d3a080
|
|
@ -2654,6 +2654,9 @@
|
|||
addButton: true
|
||||
}
|
||||
},
|
||||
|
||||
tags: cloudStack.api.tags({ resourceType: 'PortForwardingRule', contextId: 'multiRule' }),
|
||||
|
||||
add: {
|
||||
label: 'label.add.vm',
|
||||
action: function(args) {
|
||||
|
|
@ -2702,6 +2705,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