Commit 7e365988 authored by Dietmar Maurer's avatar Dietmar Maurer

mobile: improve error display

parent a1eafd66
......@@ -92,6 +92,8 @@ Ext.define('PVE.Datacenter', {
var ci = me.down('pveClusterInfo');
me.setMasked(false);
me.summary = {};
PVE.Utils.API2Request({
......@@ -129,6 +131,9 @@ Ext.define('PVE.Datacenter', {
me.summary.nodes = node_count;
ci.setData(me.summary);
},
failure: function(response) {
me.setMasked({ xtype: 'loadmask', message: response.htmlStatus} );
}
});
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment