Commit 643774c3 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_only_office] Decrease speed on onlyoffice gadget

Workaround renderjs speed improvement.
parent af2751d5
......@@ -173,6 +173,8 @@ DocsAPI.DocEditor.version = function () {
.declareMethod('appReady', function () {
var g = this;
console.log('appReady');
return new RSVP.Queue()
.push(function () {
g.props.handlers.init({
config: {
lang: 'en',
......@@ -202,6 +204,7 @@ DocsAPI.DocEditor.version = function () {
}
}
});
});
})
.declareMethod('documentReady', function () {
console.log();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment