VPC: Use listView selector for assignVm action

This commit is contained in:
Brian Federle 2013-05-21 15:09:30 -07:00
parent dfa93b52a8
commit c6c85387fb
2 changed files with 22 additions and 5 deletions

View File

@ -11871,12 +11871,14 @@ div.ui-dialog div.autoscaler div.field-group div.form-container form div.form-it
}
.add .icon,
.addNew .icon {
.addNew .icon,
.assignVm .icon {
background-position: -37px -61px;
}
.add:hover .icon,
.addNew:hover .icon {
.addNew:hover .icon,
.assignVm:hover .icon {
background-position: -37px -643px;
}

View File

@ -437,9 +437,24 @@
detailView: {
name: 'Internal Lb details',
actions: {
//assignVm: {
//}
assignVm: {
label: 'Assign VMs to LB',
messages: {
notification: function(args) { return 'Assign VM to internal LB rule'; }
},
listView: $.extend(true, {}, cloudStack.sections.instances.listView, {
type: 'checkbox',
filters: false
}),
action: function(args) {
args.response.success();
},
notification: {
poll: function(args) {
args.complete();
}
}
}
},
tabs: {
details: {