reapplying the fix that was lost by conflict resolution

This commit is contained in:
Edin Dazdarevic
2015-03-19 01:13:11 +01:00
parent 70635ebd1e
commit 1d16951fcf

View File

@@ -63,6 +63,7 @@ var RibicaValidationMixin = {
return Object.keys(errors).length === 0;
},
componentDidMount : function(){
this.setState({errors: {}});
if (this.validations) {
var self = this;
this.validations.getState = function() {