Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2019-01-11 05:27:44 +0300
committernachoparker <nacho@ownyourbits.com>2019-01-11 05:27:47 +0300
commit228c818203d0968bd81d81e4fe0e17166584939e (patch)
tree5a67c5f1de80594addc7d3e48f5bf2c364e535ae /ncp-web
parent6ba0cb0638160e24070d5ed5ce5212f46a660bbc (diff)
ncp-web: fix section unselected when sidebar reloadsv1.1.2
Diffstat (limited to 'ncp-web')
-rw-r--r--ncp-web/js/ncp.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ncp-web/js/ncp.js b/ncp-web/js/ncp.js
index 0f5402e5..556bc90e 100644
--- a/ncp-web/js/ncp.js
+++ b/ncp-web/js/ncp.js
@@ -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');