use slide toggle for files app

This commit is contained in:
Bernhard Posselt 2014-06-04 19:11:04 +02:00 committed by Jan-Christoph Borchardt
parent e0c4e960d9
commit 844c6c3328
2 changed files with 2 additions and 8 deletions

View File

@ -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();
});

View File

@ -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>