Page MenuHomePhorge

D324.1775291761.diff
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

D324.1775291761.diff

diff --git a/plugins/kolab_files/kolab_files.js b/plugins/kolab_files/kolab_files.js
--- a/plugins/kolab_files/kolab_files.js
+++ b/plugins/kolab_files/kolab_files.js
@@ -222,8 +222,35 @@
if (window.document_editor_api)
document_editor = new document_editor_api(editor_config);
- else
+ else if (window.manticore_api)
document_editor = new manticore_api(editor_config);
+ else
+ document_editor = {
+ save: function() {
+ console.log('Document Editor not available');
+ },
+ export: function() {
+ console.log('Document Editor not available');
+ },
+ print: function() {
+ console.log('Document Editor not available');
+ },
+ invitation_request: function() {
+ console.log('Document Editor not available');
+ },
+ invitation_msg: function() {
+ console.log('Document Editor not available');
+ },
+ invitation_accept: function() {
+ console.log('Document Editor not available');
+ },
+ invitation_decline: function() {
+ console.log('Document Editor not available');
+ },
+ terminate: function() {
+ console.log('Document Editor not available');
+ }
+ };
};
// returns API authorization token

File Metadata

Mime Type
text/plain
Expires
Sat, Apr 4, 8:36 AM (9 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18828668
Default Alt Text
D324.1775291761.diff (1 KB)

Event Timeline