+function update_images(deployment_select, image_select) {
+ deployment_id = $(deployment_select).val();
+ image_id = $(image_select).val();
+ html = "<option value=''>---------</option>\n";
+ for (i in deployment_images) {
+ dn = deployment_images[i];
+ if (dn[0] == deployment_id) {
+ html = html + option_html(dn[1], dn[2], dn[1] == image_id);
+ }
+ }
+ image_select.empty().append(html);
+}
+
+function sliver_deployment_changed(any_control) {
+ /* This function handles someone changing the deployment control
+ in the add-sliver line. It updats the flavors and nodes dialogs
+ accordingly.
+ */
+