diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2015-03-06 16:28:38 +0100 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2015-03-19 16:30:47 +0100 |
commit | bdb40891393f8c30fdfe15711b1417692521117f (patch) | |
tree | 405329df7a53a7687b1bac6077dfbb31caffebb8 /settings/js | |
parent | 0868e49663a8619809a35b7879e26a83b58ec1b2 (diff) | |
download | nextcloud-server-bdb40891393f8c30fdfe15711b1417692521117f.tar.gz nextcloud-server-bdb40891393f8c30fdfe15711b1417692521117f.zip |
collapse app descriptions by default, make expandable, fix #13112
Diffstat (limited to 'settings/js')
-rw-r--r-- | settings/js/apps.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js index 7330f426af7..bb52aa3a155 100644 --- a/settings/js/apps.js +++ b/settings/js/apps.js @@ -369,6 +369,17 @@ OC.Settings.Apps = OC.Settings.Apps || { OC.Settings.Apps.loadCategory(categoryId); }); + $(document).on('click', '.app-description-toggle-show', function () { + $(this).addClass('hidden'); + $(this).siblings('.app-description-toggle-hide').removeClass('hidden'); + $(this).siblings('.app-description-container').slideDown(); + }); + $(document).on('click', '.app-description-toggle-hide', function () { + $(this).addClass('hidden'); + $(this).siblings('.app-description-toggle-show').removeClass('hidden'); + $(this).siblings('.app-description-container').slideUp(); + }); + $(document).on('click', '#apps-list input.enable', function () { var appId = $(this).data('appid'); var element = $(this); |