Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117819355
D324.1775291761.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D324.1775291761.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D324: T2040: Don't call manticore_api when it's not loaded
Attached
Detach File
Event Timeline