mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
fixed drawio UI initialization conflict
This commit is contained in:
parent
efee4ca25a
commit
4cbad3bc9d
@ -203,6 +203,8 @@ define([
|
||||
var defaultTheme = theme;
|
||||
parameters.set('ui', defaultTheme);
|
||||
});
|
||||
var isReadOnly = framework.isReadOnly() ? 0 : 1;
|
||||
parameters.set('chrome', isReadOnly);
|
||||
drawioFrame.src = ApiConfig.httpSafeOrigin + '/components/drawio/src/main/webapp/index.html?'
|
||||
+ parameters;
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user