mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Added jquery tab, accordion to autobind.
made add series page more awsome.
This commit is contained in:
parent
becd8e2dac
commit
5e386a2bc7
10 changed files with 69 additions and 67 deletions
|
@ -16,10 +16,30 @@
|
|||
$(this).removeAttr('disabled');
|
||||
});
|
||||
|
||||
|
||||
|
||||
//All buttons are jQueryUI buttons
|
||||
$('button, input[type="button"], input[type="submit"], input[type="reset"]').livequery(function () {
|
||||
$(this).button();
|
||||
});
|
||||
|
||||
$('.jquery-accordion').livequery(function () {
|
||||
$(this).accordion({
|
||||
autoHeight: false,
|
||||
collapsible: true
|
||||
});
|
||||
});
|
||||
|
||||
$('.jquery-tabs').livequery(function () {
|
||||
$(this).tabs({
|
||||
fx: { opacity: 'toggle' },
|
||||
select: function (event, ui) {
|
||||
jQuery(this).css('height', jQuery(this).height());
|
||||
jQuery(this).css('overflow', 'hidden');
|
||||
},
|
||||
show: function (event, ui) {
|
||||
jQuery(this).css('height', 'auto');
|
||||
jQuery(this).css('overflow', 'visible');
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue