Further cleanup on installer: fix visibility of CC selector results when returning to the options page.
This commit is contained in:
parent
d3005cfbd5
commit
d535508ba7
1 changed files with 2 additions and 1 deletions
|
|
@ -929,9 +929,10 @@ class WebInstaller_Options extends WebInstallerPage {
|
||||||
} else {
|
} else {
|
||||||
$iframeAttribs['src'] = $this->getCCPartnerUrl();
|
$iframeAttribs['src'] = $this->getCCPartnerUrl();
|
||||||
}
|
}
|
||||||
|
$wrapperStyle = ($this->getVar('_LicenseCode') == 'cc-choose') ? '' : 'display: none';
|
||||||
|
|
||||||
return
|
return
|
||||||
"<div class=\"config-cc-wrapper\" id=\"config-cc-wrapper\" style=\"display: none;\">\n" .
|
"<div class=\"config-cc-wrapper\" id=\"config-cc-wrapper\" style=\"$wrapperStyle\">\n" .
|
||||||
Html::element( 'iframe', $iframeAttribs, '', false /* not short */ ) .
|
Html::element( 'iframe', $iframeAttribs, '', false /* not short */ ) .
|
||||||
"</div>\n";
|
"</div>\n";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue