mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-19 08:52:22 +01:00
Contacts: No accordion in jqueryui?
This commit is contained in:
parent
a2b52742fa
commit
077c3b8aab
@ -1174,11 +1174,16 @@ OC.Contacts = OC.Contacts || {
|
||||
self.hideActions();
|
||||
});
|
||||
|
||||
$('h3.export,h3.import,h3.share').on('click keydown', function(event) {
|
||||
this.$settings.find('h3').on('click keydown', function(event) {
|
||||
if(wrongKey(event)) {
|
||||
return;
|
||||
}
|
||||
if($(this).next('ul').is(':visible')) {
|
||||
$(this).next('ul').slideUp();
|
||||
return;
|
||||
}
|
||||
console.log('export');
|
||||
$(this).parents('ul').first().find('ul:visible').slideUp();
|
||||
$(this).next('ul').toggle('slow');
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user