Procházet zdrojové kódy

! this.oXmlRequestHandle isn't used, not that the abort functionality actually worked...

Signed-off-by: Peter Spicer <[email protected]>
Peter Spicer před 10 roky
rodič
revize
1efa7df223
1 změnil soubory, kde provedl 0 přidání a 6 odebrání
  1. 0 6
      Themes/default/scripts/suggest.js

+ 0 - 6
Themes/default/scripts/suggest.js

@@ -39,8 +39,6 @@ function smc_AutoSuggest(oOptions)
 	this.oHideTimer = null;
 	this.bPositionComplete = false;
 
-	this.oXmlRequestHandle = null;
-
 	// Just make sure the page is loaded before calling the init.
 	addLoadEvent(this.opt.sSelf + '.init();');
 }
@@ -614,10 +612,6 @@ smc_AutoSuggest.prototype.autoSuggestUpdate = function ()
 		}
 	}
 
-	// In progress means destroy!
-	if (typeof(this.oXmlRequestHandle) == 'object' && this.oXmlRequestHandle != null)
-		this.oXmlRequestHandle.abort();
-
 	// Clean the text handle.
 	sSearchString = sSearchString.php_to8bit().php_urlencode();