Add tags to edit PF dialog

This commit is contained in:
Brian Federle 2012-07-24 12:12:09 -07:00
parent fe3454bb61
commit c9b8d3a080
1 changed files with 16 additions and 0 deletions

View File

@ -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) {