Index: trunk/phase3/skins/common/wikibits.js |
— | — | @@ -431,7 +431,8 @@ |
432 | 432 | } |
433 | 433 | for (var i = start; i <= finish; ++i ) { |
434 | 434 | checkboxes[i].checked = endState; |
435 | | - if( i > start ) checkboxes[i].onchange(); // fire triggers |
| 435 | + if( i > start && typeof checkboxes[i].onchange == 'function' ) |
| 436 | + checkboxes[i].onchange(); // fire triggers |
436 | 437 | } |
437 | 438 | lastCheckbox = this.index; |
438 | 439 | return true; |