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 @@ ...@@ -15,8 +15,11 @@
<div id="clearButtonText" style="display: none"><?=$this->translate('Clear') ?></div> <div id="clearButtonText" style="display: none"><?=$this->translate('Clear') ?></div>
</div> </div>
<? endforeach; ?> <? endforeach; ?>
<script type="text/javascript"> <?
loadVis('<?=$this->recommend->getFacetFields() ?>', '<?=$this->recommend->getSearchParams() ?>', path, <?=$this->recommend->getZooming() ?>); $js = "loadVis('" . $this->recommend->getFacetFields() . "', '"
</script> . $this->recommend->getSearchParams() . "', path, "
. $this->recommend->getZooming() . ");";
echo $this->inlineScript(\Zend\View\Helper\HeadScript::SCRIPT, $js);
?>
<? endif; ?> <? 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