From 7e7820d366724a93359acbde371f211acb917c44 Mon Sep 17 00:00:00 2001 From: Naomi Aro Date: Tue, 13 Mar 2012 16:41:06 +0100 Subject: [PATCH] CC-733 : broadcast logs adding table scroll height. --- airtime_mvc/public/js/airtime/playouthistory/historytable.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/airtime_mvc/public/js/airtime/playouthistory/historytable.js b/airtime_mvc/public/js/airtime/playouthistory/historytable.js index 8dfeca40a..ff981feb5 100644 --- a/airtime_mvc/public/js/airtime/playouthistory/historytable.js +++ b/airtime_mvc/public/js/airtime/playouthistory/historytable.js @@ -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; };