validate nodeselector after store is loaded

this shows the validation status immediatly if no node is selected (for
instance because no node is online or you have only one node and open
the migration window)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2016-12-07 11:54:35 +01:00 committed by Dietmar Maurer
parent 5972ae1cd4
commit c7cf5c25da

View File

@ -112,5 +112,8 @@ Ext.define('PVE.form.NodeSelector', {
}
}));
me.mon(me.getStore(), 'load', function(){
me.isValid();
});
}
});