Commit 93c9341
committed
fix(ElementsWindow): Focus element if element dom_id is in the url hash
Focus element editor and element in preview if URL contains
hash to element editor. The link is coming from the assignment
view when showing assigned files or pictures.
Signed-off-by: Thomas von Deyen <vondeyen@blish.cloud>
(cherry picked from commit 12180b3)1 parent aba0dfe commit 93c9341
File tree
2 files changed
+431
-3
lines changed- app/javascript/alchemy_admin/components
- spec/javascript/alchemy_admin/components
2 files changed
+431
-3
lines changedLines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | | - | |
19 | | - | |
20 | | - | |
| 19 | + | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| |||
64 | 63 | | |
65 | 64 | | |
66 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
67 | 76 | | |
68 | 77 | | |
69 | 78 | | |
| |||
0 commit comments