mirror of https://git.48k.eu/ogcp
templates: fix initial repos disclosure widget status
Show the proper state of the disclosure widget when a repo starts as collapsed.master
parent
65d2d75ddb
commit
f85c61df99
|
@ -187,6 +187,8 @@ function keepReposTreeState() {
|
|||
repos_tree.each(function () {
|
||||
if (localStorage.getItem(this.id) == 'show') {
|
||||
$(this).collapse('show');
|
||||
} else {
|
||||
$(this).siblings('a').addClass('collapsed');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
@ -111,7 +111,7 @@
|
|||
<!-- ChartJS -->
|
||||
<script src="{{ url_for('static', filename='AdminLTE/plugins/chart.js/Chart.min.js') }}"></script>
|
||||
|
||||
<script src="{{ url_for('static', filename='js/ogcp.js') }}?v=16"></script>
|
||||
<script src="{{ url_for('static', filename='js/ogcp.js') }}?v=17"></script>
|
||||
|
||||
<script>
|
||||
// error messages
|
||||
|
|
Loading…
Reference in New Issue