Browse Source

! remove another ie5 check from the JS

Signed-off-by: Spuds <spuds@simplemachines.org>
Spuds 12 years ago
parent
commit
2a6ae47dc0
1 changed files with 1 additions and 5 deletions
  1. 1 5
      Themes/default/scripts/topic.js

+ 1 - 5
Themes/default/scripts/topic.js

@@ -242,11 +242,7 @@ QuickModify.prototype.modifyMsg = function (iMessageId)
 
 	// Send out the XMLhttp request to get more info
 	ajax_indicator(true);
-
-	// For IE 5.0 support, 'call' is not yet used.
-	this.tmpMethod = getXMLDocument;
-	this.tmpMethod(smf_prepareScriptUrl(this.opt.sScriptUrl) + 'action=quotefast;quote=' + iMessageId + ';modify;xml', this.onMessageReceived);
-	delete this.tmpMethod;
+	sendXMLDocument.call(this, smf_prepareScriptUrl(this.opt.sScriptUrl) + 'action=quotefast;quote=' + iMessageId + ';modify;xml', this.onMessageReceived);
 }
 
 // The callback function used for the XMLhttp request retrieving the message.