#775: preserve the open/closed status of the search form during auto-reload... by not reloading the form at all!

SVN:trunk[2986]
This commit is contained in:
Denis Flaven
2013-11-26 14:19:13 +00:00
parent 99695a0fc1
commit 87e33c72b5

View File

@@ -261,7 +261,7 @@ class DisplayBlock
);
');
}
if ($bAutoReload)
if (($bAutoReload) && ($this->m_sStyle != 'search')) // Search form do NOT auto-reload
{
$oPage->add_script('setInterval("ReloadBlock(\''.$sId.'\', \''.$this->m_sStyle.'\', \''.$sFilter.'\', \"'.$sExtraParams.'\")", '.$iReloadInterval.');');
}