Skip to content
Snippets Groups Projects
Commit ed994210 authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Remove unused JS code.

parent 66101e75
No related merge requests found
......@@ -4,14 +4,6 @@
$hierarchyTreeList = $this->tab->getTreeList();
$activeTree = $this->tab->getActiveTree();
$this->inlineScript(
\Zend\View\Helper\HeadScript::SCRIPT,
"var hierarchySettings = {\n"
. " lightboxMode: " . ($this->layout()->getTemplate() == 'layout/lightbox' ? 'true' : 'false') . ",\n"
. " fullHierarchy: " . ($this->tab->isFullHierarchyVisible() ? 'true' : 'false') . "\n"
. "};\n",
'SET'
);
$this->jsTranslations()->addStrings(
['showTree' => 'hierarchy_show_tree', 'hideTree' => 'hierarchy_hide_tree']
);
......
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