ah ok.
i see what you are getting at now.
this will need a little bit more work for another reason as when the multi
select list is created, it doesn't like to be changed by just altering the
options and calling multiSelectOnLoad();
but will also make the selection a regex so it picks up both multiselect
lists.



On Mon, Jul 15, 2013 at 2:42 PM, Ohad Levy <notifications@github.com> wrote:

> In app/assets/javascripts/compute_resource.js:
>
> > @@ -154,3 +154,16 @@ function enable_libvirt_dropdown(item){
> >    item.find(':input').attr('disabled',false)
> >    item.show();
> >  }
> > +
> > +function ec2_vpcSelected(form, security_groups, subnets){
> > +  $('#host_compute_attributes_security_group_ids').empty()
>
> compute_resource is the creation of the CR itself, CR_vms is a shortcut to
> create just the vm vs the full blown host object.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/theforeman/foreman/pull/778/files#r5189608>
> .
>