- collapsible tables on mailbox.php which are collapsed per default if they are long
- changed username field on the login form to the type "text" as "name" is no valid type which causes problems with some extensions (password managers)
This commit is contained in:
@@ -51,4 +51,16 @@ $(document).ready(function() {
|
||||
$panel.find('.panel-body input').focus();
|
||||
}
|
||||
});
|
||||
$('.container').on('click', '.panel-heading .panel-title', function(e){
|
||||
var $this = $(this),
|
||||
$panel = $this.parents('.panel');
|
||||
$panel.find('.table-responsive').slideToggle("fast");
|
||||
});
|
||||
$('.panel-heading .panel-title').addClass('clickable');
|
||||
$('.panel .table-responsive').each(function() {
|
||||
if ($(this).height() > 550) {
|
||||
// If one is too large initially hide all
|
||||
$('.panel .table-responsive').slideUp("fast");
|
||||
}
|
||||
})
|
||||
});
|
||||
|
Reference in New Issue
Block a user