mobile: improve error display

This commit is contained in:
Dietmar Maurer 2014-08-05 09:15:14 +02:00
parent a1eafd66b2
commit 7e36598811

View File

@ -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} );
}
});
},