Fix non-schema data saving

This commit is contained in:
Anatoliy Chakkaev 2011-12-11 15:26:24 +04:00
parent d9567f01e2
commit 71a52b4b50
1 changed files with 1 additions and 0 deletions

View File

@ -110,6 +110,7 @@ AbstractClass.create = function (data) {
create();
} else {
obj = new this(data);
data = obj.toObject(true);
// validation required
obj.isValid(function (valid) {