search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Bug on IE9 and Scheduler.js: invalid argument on colSpan

Asked by Anonymous
11 years ago.

Hi,

On IE9, the following code will fail:

if ($m.Columns == null || $m.Columns.length == 0) {
c.colSpan = $0P;
$R.style.width = $1l + "px";
} else {
...

Because if $0P == 0, then an execption is raised.

You should do the following stuff:

if ($m.Columns == null || $m.Columns.length == 0) {
if($0P > 0){
c.colSpan = $0P;
}

$R.style.width = $1l + "px";
} else {

Cheers

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.