SAAS-940: Provide usability hints to user

Fixed bug where sometimes the hint would not show up
This commit is contained in:
drigato 2015-07-15 11:35:59 -04:00
parent e07d62b020
commit 6a01205034
1 changed files with 3 additions and 6 deletions

View File

@ -72,12 +72,9 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
<div class="wrapper" id="content">
<?php
$hint = Application_Common_UsabilityHints::getUsabilityHint();
if ($hint != "") { ?>
<div class="usability_hint"><?php echo $hint; ?></div>
<?php
}
?>
$hint = Application_Common_UsabilityHints::getUsabilityHint(); ?>
<div class="usability_hint" <?php if ($hint == "") { echo "style='display:none'"; } ?>><?php echo $hint; ?></div>
<?php echo $this->layout()->content ?></div>