Prechádzať zdrojové kódy

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

Signed-off-by: Peter Spicer <[email protected]>
Peter Spicer 11 rokov pred
rodič
commit
1efa7df223
1 zmenil súbory, kde vykonal 0 pridanie a 6 odobranie
  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();