diff options
author | bobzel <zzzman@gmail.com> | 2020-08-19 00:19:41 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-08-19 00:19:41 -0400 |
commit | a56af1c509199ca26a227132dd130139dc32988d (patch) | |
tree | 0db0d110f449898283cb26eaaea5a1fe1ea144e1 /src/client/util/CurrentUserUtils.ts | |
parent | c5e7890b5055521bf030eff8db99ff189b3f9eb2 (diff) | |
parent | 677d73e55fc934fac0fd1170a399359e131fef2f (diff) |
Merge branch 'master' into schema_search
Diffstat (limited to 'src/client/util/CurrentUserUtils.ts')
-rw-r--r-- | src/client/util/CurrentUserUtils.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/util/CurrentUserUtils.ts b/src/client/util/CurrentUserUtils.ts index 647efeec0..4385b164b 100644 --- a/src/client/util/CurrentUserUtils.ts +++ b/src/client/util/CurrentUserUtils.ts @@ -810,7 +810,6 @@ export class CurrentUserUtils { if (doc.sidebar === undefined) { const sidebarContainer = new Doc(); sidebarContainer._chromeStatus = "disabled"; - sidebarContainer.onClick = ScriptField.MakeScript("freezeSidebar()"); sidebarContainer.system = true; doc.sidebar = new PrefetchProxy(sidebarContainer); } @@ -868,7 +867,7 @@ export class CurrentUserUtils { // Sharing sidebar is where shared documents are contained static setupSharingSidebar(doc: Doc) { if (doc["sidebar-sharing"] === undefined) { - doc["sidebar-sharing"] = new PrefetchProxy(Docs.Create.StackingDocument([], { title: "Shared Documents", childDropAction: "alias", system: true })); + doc["sidebar-sharing"] = new PrefetchProxy(Docs.Create.StackingDocument([], { title: "Shared Documents", childDropAction: "alias", system: true, _yMargin: 30, _showTitle: "title", ignoreClick: true, lockedPosition: true })); } } |