ncp-web: fix section unselected when sidebar reloads

This commit is contained in:
nachoparker 2019-01-10 19:27:44 -07:00
parent 6ba0cb0638
commit 228c818203
2 changed files with 5 additions and 3 deletions

View File

@ -1,7 +1,9 @@
[v1.1.1](https://github.com/nextcloud/nextcloudpi/commit/a95bc68) (2019-01-10) ncp-web: escape HTML in details box
[v1.1.2](https://github.com/nextcloud/nextcloudpi/commit/57b26ef) (2019-01-10) ncp-web: fix section unselected when sidebar reloads
[v1.1.0](https://github.com/nextcloud/nextcloudpi/commit/0ff1df9) (2019-01-08) upgrade to NC15
[v1.1.1](https://github.com/nextcloud/nextcloudpi/commit/6ba0cb0) (2019-01-10) ncp-web: escape HTML in details box
[v1.1.0 ](https://github.com/nextcloud/nextcloudpi/commit/0ff1df9) (2019-01-08) upgrade to NC15
[v1.0.2 ](https://github.com/nextcloud/nextcloudpi/commit/06b00e4) (2019-01-09) wizard: dont change missing parameters

View File

@ -141,7 +141,7 @@ function reload_sidebar()
if ( ret.ret && ret.ret == '0' ) {
$('#ncp-options').ht( ret.output );
set_sidebar_click_handlers();
if (selectedID)
if (selectedID && $$('#config-wrapper').style.display == 'block')
select_app($('#' + selectedID));
ncp_app_list = $('.ncp-app-list-item');