Project

General

Profile

Bug #3445 » 0001-Fix-undefined-item.set-in-StdGridLayoutImpl2.js.patch

Bruce Toll, 07/08/2014 08:37 PM

View differences:

src/js/StdGridLayoutImpl2.js
446 446
	   if (!item.margin)
447 447
	     item.margin = [];
448 448

  
449
	   if (isHidden(item.w)) {
450
	     item.ps[dir] = item.ms[dir] = 0;
451
	     continue;
452
	   }
453

  
454 449
	   var first = !item.set;
455 450

  
456 451
	   if (!item.set)
457 452
	     item.set = [false, false];
458 453

  
454
	   if (isHidden(item.w)) {
455
	     item.ps[dir] = item.ms[dir] = 0;
456
	     continue;
457
	   }
458

  
459 459
	   if (item.w) {
460 460
	     if (WT.isIE)
461 461
	       item.w.style.visibility = '';
462
- 
(2-2/2)