Index: trunk/extensions/SemanticForms/libs/SF_popupform.js |
— | — | @@ -476,17 +476,21 @@ |
477 | 477 | |
478 | 478 | iframe[0].style.overflow = "auto"; |
479 | 479 | |
480 | | - if ( docWidth > availW * .85 ) { |
| 480 | + // For now, just ignore docWidth and docHeight - at |
| 481 | + // least on Vector, they're getting set to values |
| 482 | + // that are far too small. |
| 483 | + // TODO: fix this |
| 484 | + //if ( docWidth > availW * .85 ) { |
481 | 485 | w = ( availW * .8 ); |
482 | | - } else { |
483 | | - w = docWidth + 20; |
484 | | - } |
| 486 | + //} else { |
| 487 | + // w = docWidth + 20; |
| 488 | + //} |
485 | 489 | |
486 | | - if ( docHeight > availH * .85 ) { |
| 490 | + //if ( docHeight > availH * .85 ) { |
487 | 491 | h = ( availH * .8 ); |
488 | | - } else { |
489 | | - h = docHeight + 20; |
490 | | - } |
| 492 | + //} else { |
| 493 | + // h = docHeight + 20; |
| 494 | + //} |
491 | 495 | |
492 | 496 | } else { |
493 | 497 | iframe[0].style.overflow = "hidden"; |
— | — | @@ -593,4 +597,4 @@ |
594 | 598 | this.handlePopupFormInput = handlePopupFormInput; |
595 | 599 | this.handlePopupFormLink = handlePopupFormLink; |
596 | 600 | |
597 | | -} |
\ No newline at end of file |
| 601 | +} |