1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-23 22:50:09 +03:00

Ozones: preload selected zone hosts when opening create vdc dialog

(cherry picked from commit 7b50ba8e4a4135e5402295742e7347d7c894dad9)
This commit is contained in:
Hector Sanjuan 2012-01-13 13:16:34 +01:00 committed by Ruben S. Montero
parent 7cd24b9998
commit 0d9e45ca2f

View File

@ -517,6 +517,7 @@ function setupCreateVDCDialog(){
function openCreateVDCDialog(){
var dialog = $('div#create_vdc_dialog')
$('select#zoneid',dialog).html(zones_select);
$('select#zoneid',dialog).trigger("change");
$('#vdc_available_hosts_list',dialog).empty();
$('#vdc_selected_hosts_list',dialog).empty();
dialog.dialog('open');