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

Files showing as part of files datastore (in the info tab)

This commit is contained in:
Tino Vazquez 2013-04-12 15:27:06 +02:00
parent df4d2b3ed3
commit 94a1f5d362

View File

@ -343,7 +343,12 @@ function updateDatastoreImagesInfoView (request,image_list){
$.each(image_list,function(){
if (this.IMAGE.DATASTORE==datastore_name)
image_list_array.push(imageElementArray(this));
{
if(datastore_type=="IMAGE_DS"||datastore_type=="SYSTEM_DS")
image_list_array.push(imageElementArray(this));
else
image_list_array.push(fileElementArray(this));
}
});
updateView(image_list_array,dataTable_datastore_images_panel);