remove sizing of history content div in JS. CSS to fix width and containing box problems.
This commit is contained in:
parent
5c0ba2e79b
commit
f7531d5da2
3 changed files with 9 additions and 23 deletions
|
@ -254,10 +254,7 @@ var AIRTIME = (function(AIRTIME) {
|
|||
|
||||
mod.onReady = function() {
|
||||
|
||||
var viewport = AIRTIME.utilities.findViewportDimensions(),
|
||||
widgetHeight = viewport.height - 185,
|
||||
screenWidth = Math.floor(viewport.width - 110),
|
||||
oBaseDatePickerSettings,
|
||||
var oBaseDatePickerSettings,
|
||||
oBaseTimePickerSettings,
|
||||
oTableAgg,
|
||||
oTableItem,
|
||||
|
@ -308,10 +305,6 @@ var AIRTIME = (function(AIRTIME) {
|
|||
$(this).removeClass("ui-state-hover");
|
||||
});
|
||||
|
||||
$historyContentDiv
|
||||
.height(widgetHeight)
|
||||
.width(screenWidth);
|
||||
|
||||
oBaseDatePickerSettings = {
|
||||
dateFormat: 'yy-mm-dd',
|
||||
//i18n_months, i18n_days_short are in common.js
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue