CC-733 : broadcast logs

adding table scroll height.
This commit is contained in:
Naomi Aro 2012-03-13 16:41:06 +01:00
parent a8d61ff19c
commit 7e7820d366
1 changed files with 3 additions and 1 deletions

View File

@ -10,7 +10,7 @@ var AIRTIME = (function(AIRTIME) {
var oTable,
historyContentDiv = $("#history_content"),
historyTableDiv = historyContentDiv.find("#history_table"),
tableHeight = historyContentDiv.height() - 140,
tableHeight = historyContentDiv.height() - 200,
fnServerData;
fnServerData = function ( sSource, aoData, fnCallback ) {
@ -70,6 +70,8 @@ var AIRTIME = (function(AIRTIME) {
});
oTable.fnSetFilteringDelay(350);
historyContentDiv.find(".dataTables_scrolling").css("max-height", tableHeight);
return oTable;
};