xcpweb

changeset 10:0803fe338c81

little fix
author Nikola Nikov <nikolanikov@webconnect.bg>
date Mon Jul 19 03:31:59 2010 +0300 (2010-07-19)
parents a8a680105b67
children 5c39c6cef4b4
files interface/templates/cloud_pool.js
line diff
     1.1 --- a/interface/templates/cloud_pool.js	Mon Jul 19 03:28:11 2010 +0300
     1.2 +++ b/interface/templates/cloud_pool.js	Mon Jul 19 03:31:59 2010 +0300
     1.3 @@ -23,7 +23,7 @@ var is_hidden = 0;
     1.4  		document.getElementById('vm_show_hide').src='/interface/img/minus_big.png';
     1.5  		document.getElementById('vm_show_hide').style.top='-3px';
     1.6  		document.getElementById('vm_box_content').style.display='';
     1.7 -		is_hidden=0;
     1.8 +		is_hidden=0; 
     1.9  		}
    1.10  	else
    1.11  		{
    1.12 @@ -233,14 +233,10 @@ this.vm = function(param,e)
    1.13  	var possible_hosts_label=new Array();
    1.14  	var possible_hosts_num = 0;
    1.15  	
    1.16 -	possible_hosts=new Array();
    1.17 -	possible_hosts[0]='OpaqueRef:bba544aa-e038-b9f8-b50a-07a6a833a568';
    1.18  	for (var i in possible_hosts) {
    1.19  	possible_hosts_num++;
    1.20  	possible_hosts_label[i]=xen_host_get_name_label(possible_hosts[i]);
    1.21  	}
    1.22 -	//for now 
    1.23 -	power_state="Running";
    1.24  	
    1.25  	var currentMenu = xcp_menu.createMenu(param);
    1.26  	if (typeof(currentMenu) == 'object') {