diff options
-rw-r--r-- | apps/files/js/files.js | 8 | ||||
-rw-r--r-- | apps/files/templates/appnavigation.php | 2 |
2 files changed, 2 insertions, 8 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js index 4549de57f3f..8d871d6dac6 100644 --- a/apps/files/js/files.js +++ b/apps/files/js/files.js @@ -279,13 +279,7 @@ } } - $('#app-settings-header').on('click', function() { - var $settings = $('#app-settings'); - $settings.toggleClass('opened'); - if ($settings.hasClass('opened')) { - $settings.find('input').focus(); - } - }); + $('#webdavurl').on('click', function () { $('#webdavurl').select(); }); diff --git a/apps/files/templates/appnavigation.php b/apps/files/templates/appnavigation.php index 86436bbe8c4..3591d0199b0 100644 --- a/apps/files/templates/appnavigation.php +++ b/apps/files/templates/appnavigation.php @@ -6,7 +6,7 @@ </ul> <div id="app-settings"> <div id="app-settings-header"> - <button class="settings-button"></button> + <button class="settings-button" data-apps-slide-toggle="#app-settings-content"></button> </div> <div id="app-settings-content"> <h2><?php p($l->t('WebDAV'));?></h2> |