Commit a2fce95
luci-base: don't render until luci-loaded is done
Because the setupDOM/initDOM methods do strange things related
to the old lua server rendered templates
(like remove all the elements currently hidden by dependencies...),
we want to be sure that these have finished before the view
itself renders.
This also ensures that any caching (e.g. from probeSystemFeatures)
is finished before the view render.
This feels like a hacky fix, but it's not clear to me what the best
one is.
Signed-off-by: James Haggerty <[email protected]>1 parent 9924970 commit a2fce95
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1893 | 1893 | | |
1894 | 1894 | | |
1895 | 1895 | | |
| 1896 | + | |
| 1897 | + | |
| 1898 | + | |
| 1899 | + | |
| 1900 | + | |
| 1901 | + | |
| 1902 | + | |
| 1903 | + | |
| 1904 | + | |
1896 | 1905 | | |
1897 | 1906 | | |
1898 | 1907 | | |
| |||
2688 | 2697 | | |
2689 | 2698 | | |
2690 | 2699 | | |
| 2700 | + | |
2691 | 2701 | | |
2692 | 2702 | | |
2693 | 2703 | | |
| 2704 | + | |
| 2705 | + | |
2694 | 2706 | | |
2695 | 2707 | | |
2696 | 2708 | | |
| |||
0 commit comments