Hallo Jan,
vielen Dank für dein Geduld, wir haben es jetzt hinbekomme.
Lösung:
administrator/components/com_phocamaps/helpers/phocamapsmaposm.php
function renderMap
public function renderMap() {
$o = array();
$o[] = 'jQuery(document).ready(function() {';
$o[] = implode("\n", $this->output);
$o[]= 'jQuery(\'.nav-tabs li a\').click(function(){ setTimeout(function() { map'.$this->name.$this->id.'.invalidateSize(); }, 0);});';
$o[] = '})';
Factory::getDocument()->addScriptDeclaration(implode("\n", $o));
}
vielen Dank für dein Geduld, wir haben es jetzt hinbekomme.
Lösung:
administrator/components/com_phocamaps/helpers/phocamapsmaposm.php
function renderMap
public function renderMap() {
$o = array();
$o[] = 'jQuery(document).ready(function() {';
$o[] = implode("\n", $this->output);
$o[]= 'jQuery(\'.nav-tabs li a\').click(function(){ setTimeout(function() { map'.$this->name.$this->id.'.invalidateSize(); }, 0);});';
$o[] = '})';
Factory::getDocument()->addScriptDeclaration(implode("\n", $o));
}
Statistics: Posted by alex-jj — 20 Jun 2024, 07:35