Fix double callback in onlyoffice x2t

pull/1/head
yflory 3 years ago
parent d547c90168
commit aff9ffa400

@ -1722,7 +1722,7 @@ define([
}, function (err, obj) {
if (err || !obj || !obj.data) {
UI.warn(Messages.error);
cb();
return void cb();
}
cb(obj.data, obj.images);
}, {

Loading…
Cancel
Save