Am 23-01-2014 22:30, schrieb Rodrigo Trujillo:
+ kimchi.retrieveTemplate(templateName, function(templateInfo)
{
Do not forget to add the error callback function here...
+ if (templateInfo) {
+ var poolName = templateInfo.storagepool.substring(14);
+ kimchi.retrieveStoragePool(poolName, function(poolInfo){
...and
here.
+ $.each(lunsList, function(index, value)
{
+ popUpList += '<div class=field> <input
type="radio" value="' + value.name + '"
name="lun">' +
+ '<label>' + value.name +
'</label></div>';
Also, assign the <label> elements to their corresponding
<input>'s.