Skip to content
Snippets Groups Projects
Commit 4e81fd1e authored by Demian Katz's avatar Demian Katz
Browse files

Improved inline script generation.

parent 0bacec0d
No related merge requests found
......@@ -15,8 +15,11 @@
<div id="clearButtonText" style="display: none"><?=$this->translate('Clear') ?></div>
</div>
<? endforeach; ?>
<script type="text/javascript">
loadVis('<?=$this->recommend->getFacetFields() ?>', '<?=$this->recommend->getSearchParams() ?>', path, <?=$this->recommend->getZooming() ?>);
</script>
<?
$js = "loadVis('" . $this->recommend->getFacetFields() . "', '"
. $this->recommend->getSearchParams() . "', path, "
. $this->recommend->getZooming() . ");";
echo $this->inlineScript(\Zend\View\Helper\HeadScript::SCRIPT, $js);
?>
<? endif; ?>
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment