Dashboard IE8 fixes

This commit is contained in:
Brian Federle 2012-02-10 14:55:13 -08:00
parent ae4a967ad7
commit 03d1f40c9a
2 changed files with 11 additions and 7 deletions

View File

@ -3418,16 +3418,16 @@ Dialogs*/
}
.dashboard.admin .dashboard-container.sub.alerts ul {
width: 356px;
width: 368px;
height: 274px;
overflow: auto;
position: relative;
margin: 0 0 0 16px;
margin: 0px 0 0 8px;
}
.dashboard.admin .dashboard-container.sub.alerts ul li {
display: block;
width: 330px;
width: 358px;
height: 42px;
color: #000000;
background: url(../images/bg-gradients.png) 0px -48px;
@ -3868,7 +3868,7 @@ Dialogs*/
/** Resources*/
.system-chart.dashboard.admin {
width: 97%;
height: 95%;
height: 96%;
background: none;
}

View File

@ -60,11 +60,15 @@
]);
} else {
if ($li.attr('concat-value')) {
$arrayElem.html(_l(arrayValue).toString().split('<br/>').map(function(val) {
var val = $(_l(arrayValue).toString().split('<br/>')).map(function() {
var val = this.toString();
var concatValue = parseInt($li.attr('concat-value'));
return val.length >= concatValue ? val.substring(0, concatValue).concat('...') : val;
}).join('<br/>'));
return val.length >= concatValue ?
val.substring(0, concatValue).concat('...') : val;
}).toArray().join('<br/>');
$arrayElem.html(val);
} else {
$arrayElem.html(_l(arrayValue));
}