diff --git a/src/sunstone/public/js/plugins/clusters-tab.js b/src/sunstone/public/js/plugins/clusters-tab.js
index 0aff397a78..53f372bf6b 100644
--- a/src/sunstone/public/js/plugins/clusters-tab.js
+++ b/src/sunstone/public/js/plugins/clusters-tab.js
@@ -61,11 +61,12 @@ var datastore_datatable_table_tmpl='\
'+tr("Owner")+' | \
'+tr("Group")+' | \
'+tr("Name")+' | \
+ '+tr("Capacity")+' | \
'+tr("Cluster")+' | \
'+tr("Basepath")+' | \
'+tr("TM MAD")+' | \
'+tr("DS MAD")+' | \
- '+tr("System")+' | \
+ '+tr("Type")+' | \
\
\
\
@@ -232,7 +233,7 @@ function setupCreateClusterDialog(){
},
"aoColumnDefs": [
{ "sWidth": "35px", "aTargets": [1] },
- { "bVisible": false, "aTargets": [0,6,7,8,9] } // 5 = cluster
+ { "bVisible": false, "aTargets": [0,6,7,8,9,10] } // 5 = cluster
],
"oLanguage": (datatable_lang != "") ?
{
@@ -809,7 +810,7 @@ var cluster_datastore_actions = {
call: OpenNebula.Datastore.list,
callback: function(request,ds_list){
updateClusterDatastoresView(request,ds_list);
- dataTable_cluster_datastores.fnFilter( filter_expr, 5, true);
+ dataTable_cluster_datastores.fnFilter( filter_expr, 6, true);
if(filter_expr!="-")
Sunstone.runAction("Cluster.show_to_update", cluster_id);
},
@@ -1348,7 +1349,7 @@ function updateClusterInfo(request,cluster){
},
"aoColumnDefs": [
{ "sWidth": "35px", "aTargets": [1] },
- { "bVisible": false, "aTargets": [0,5,6,7,8,9] }
+ { "bVisible": false, "aTargets": [0,6,7,8,9,10] }
],
"oLanguage": (datatable_lang != "") ?
{
@@ -1375,7 +1376,7 @@ function clusterResourceViewListeners(){
dataTable_hosts.fnFilter(getClusterName(filter_id),3,false,true,false,true);
break;
case 'datastores_tab':
- dataTable_datastores.fnFilter(getClusterName(filter_id),5,false,true,false,true);
+ dataTable_datastores.fnFilter(getClusterName(filter_id),6,false,true,false,true);
break;
case 'vnets_tab':
dataTable_vNetworks.fnFilter(getClusterName(filter_id),5,false,true,false,true);
diff --git a/src/sunstone/public/js/plugins/files-tab.js b/src/sunstone/public/js/plugins/files-tab.js
index 4c3ef7bff5..96d88e5456 100644
--- a/src/sunstone/public/js/plugins/files-tab.js
+++ b/src/sunstone/public/js/plugins/files-tab.js
@@ -938,7 +938,7 @@ function popUpCreateFileDialog(){
datastores_str = makeSelectOptions(dataTable_datastores,
1,
4,
- [9,9],//system ds
+ [10,10],//system ds
['image','system'], //filter image & sys datastores
true
);
diff --git a/src/sunstone/public/js/plugins/images-tab.js b/src/sunstone/public/js/plugins/images-tab.js
index 8ae95e92cd..2a50f9fb51 100644
--- a/src/sunstone/public/js/plugins/images-tab.js
+++ b/src/sunstone/public/js/plugins/images-tab.js
@@ -1221,7 +1221,7 @@ function popUpCreateImageDialog(){
datastores_str = makeSelectOptions(dataTable_datastores,
1,
4,
- [9,9],//system ds
+ [10,10],//system ds
['file','system'], //filter image & sys datastores
true
);