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 {
|
||||
$iframeAttribs['src'] = $this->getCCPartnerUrl();
|
||||
}
|
||||
$wrapperStyle = ($this->getVar('_LicenseCode') == 'cc-choose') ? '' : 'display: none';
|
||||
|
||||
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 */ ) .
|
||||
"</div>\n";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue