* Move tab functionality to a separate module
* Fix broken library placeholders * Restrict tab width and add text panning to tab name * General bugfixing and cleanup of tab functionality
This commit is contained in:
parent
0d80f857d3
commit
8dcea06077
9 changed files with 272 additions and 225 deletions
|
@ -108,21 +108,6 @@ var AIRTIME = (function(AIRTIME){
|
|||
}
|
||||
};
|
||||
|
||||
mod.switchTab = function(tab, el) {
|
||||
$(".active-tab").hide().removeClass("active-tab");
|
||||
tab.addClass("active-tab").show();
|
||||
|
||||
$(".nav.nav-tabs .active").removeClass("active");
|
||||
el.addClass("active");
|
||||
|
||||
if (tab.hasClass("pl-content")) {
|
||||
AIRTIME.playlist.setAsActive();
|
||||
}
|
||||
AIRTIME.playlist.onResize();
|
||||
AIRTIME.library.fnRedraw();
|
||||
};
|
||||
|
||||
|
||||
mod.checkSelectButton = function() {
|
||||
var $selectable = $sbTable.find("tr");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue