Sfoglia il codice sorgente

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

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@2986 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 11 anni fa
parent
commit
fdd8521dce
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      application/displayblock.class.inc.php

+ 1 - 1
application/displayblock.class.inc.php

@@ -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.');');
 		}