Commit 4d392b27 authored by Boris Kocherov's avatar Boris Kocherov

[erp5_only_office] improve error notify

parent 6be321ea
...@@ -551,6 +551,9 @@ DocsAPI.DocEditor.version = function () { ...@@ -551,6 +551,9 @@ DocsAPI.DocEditor.version = function () {
// it clear modification state onlyoffice // it clear modification state onlyoffice
DesktopOfflineAppDocumentEndSave(0); DesktopOfflineAppDocumentEndSave(0);
return data; return data;
})
.push(undefined, function (error) {
display_error(g, error);
}); });
}) })
.onStateChange(function (m_dict) { .onStateChange(function (m_dict) {
......
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