Commit 2b217a0
committed
fix(stable32): replace getSidebar() with OCA.Files.Sidebar in openInLibreSignAction
getSidebar() is a @nextcloud/files v4-only API, not available in v3.12.x.
Replace sidebar open/setActiveTab calls in exec() and execBatch() with
the NC32-compatible OCA.Files.Sidebar global, passing node.path instead
of the node object (as expected by NC32's sidebar.open(path) signature).
Signed-off-by: Vitor Mattos <[email protected]>1 parent 39ca260 commit 2b217a0
1 file changed
Lines changed: 5 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | 64 | | |
66 | | - | |
67 | | - | |
68 | | - | |
| 65 | + | |
| 66 | + | |
69 | 67 | | |
70 | 68 | | |
71 | 69 | | |
| |||
101 | 99 | | |
102 | 100 | | |
103 | 101 | | |
104 | | - | |
105 | 102 | | |
106 | | - | |
107 | | - | |
| 103 | + | |
| 104 | + | |
108 | 105 | | |
109 | 106 | | |
110 | 107 | | |
| |||
0 commit comments