diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-06-04 19:11:04 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-06-05 11:26:24 +0200 |
commit | 844c6c33281cc7207dbb5e3196284db82c21bcbe (patch) | |
tree | 784bb339989f9f8bd8413f75d3e12939cc761ee7 /apps | |
parent | e0c4e960d9d1289c28dfbffde2fb9c1d30987f56 (diff) | |
download | nextcloud-server-844c6c33281cc7207dbb5e3196284db82c21bcbe.tar.gz nextcloud-server-844c6c33281cc7207dbb5e3196284db82c21bcbe.zip |
use slide toggle for files app
Diffstat (limited to 'apps')
-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> |