From d535508ba76e97affaca9d8e0051b36b74bbc33b Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sun, 27 Mar 2011 20:19:24 +0000 Subject: [PATCH] Further cleanup on installer: fix visibility of CC selector results when returning to the options page. --- includes/installer/WebInstallerPage.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/installer/WebInstallerPage.php b/includes/installer/WebInstallerPage.php index 3ea97d0a86..efb23b2618 100644 --- a/includes/installer/WebInstallerPage.php +++ b/includes/installer/WebInstallerPage.php @@ -929,9 +929,10 @@ class WebInstaller_Options extends WebInstallerPage { } else { $iframeAttribs['src'] = $this->getCCPartnerUrl(); } + $wrapperStyle = ($this->getVar('_LicenseCode') == 'cc-choose') ? '' : 'display: none'; return - "
\n" . + "
\n" . Html::element( 'iframe', $iframeAttribs, '', false /* not short */ ) . "
\n"; } -- 2.20.1