Skip to content
Snippets Groups Projects
Commit 6330c2e3 authored by Chris Hallberg's avatar Chris Hallberg Committed by Robert Lange
Browse files

Prevent lightbox infinite loops caused by tab loading.

parent a9095f31
No related merge requests found
......@@ -57,7 +57,9 @@
if (!$obj->supportsAjax()) { $tabClasses[] = 'noajax'; }
?>
<li class="<?=implode(' ', $tabClasses)?>" data-tab="<?=$tabName?>"<?php if ($obj->supportsAjax() && in_array($tab, $this->backgroundTabs)):?> data-background<?php endif ?>>
<a href="<?=$this->recordLink()->getTabUrl($this->driver, $tab)?>#tabnav"><?=$this->transEsc($desc)?></a>
<a href="<?=$this->recordLink()->getTabUrl($this->driver, $tab)?>#tabnav" data-lightbox-ignore>
<?=$this->transEsc($desc)?>
</a>
</li>
<?php endforeach; ?>
</ul>
......
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