summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-06-05 11:33:56 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-06-05 11:33:56 +0200
commitfdfba1440580043ef96e77f8c5abdf5df7cfe301 (patch)
tree99297b020a605c8206f4f6acc97167dccd5fb3ae
parentbd373d9621a409cba626ac7b1a4bb9d03c3b0f3b (diff)
parent844c6c33281cc7207dbb5e3196284db82c21bcbe (diff)
downloadnextcloud-server-fdfba1440580043ef96e77f8c5abdf5df7cfe301.tar.gz
nextcloud-server-fdfba1440580043ef96e77f8c5abdf5df7cfe301.zip
Merge pull request #8883 from owncloud/files-slide-toggle
use slide toggle for files app
-rw-r--r--apps/files/js/files.js8
-rw-r--r--apps/files/templates/appnavigation.php2
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>