revert documents after export fix

This commit is contained in:
2016-09-08 22:18:25 +07:00
parent c749b0ca9d
commit 205d4aad8c

View File

@@ -576,7 +576,7 @@ if (!Function.prototype.bind) {
ft.profile_function(function() {
ft.array_foreach(fl.documents, function (doc) {
if ( doc.canRevert() ) {
fl.revertDocument(document);
fl.revertDocument(doc);
}
});
}, "Revert documents");