! Don't have the code try jumping to an anchor when inserting a canned reply; the insert option is right next to the reply box anyway! [Bug 728]
gruffen

gruffen commited on 2011-06-01 06:50:03
Showing 1 changed files, with 0 additions and 6 deletions.

... ...
@@ -351,12 +351,6 @@ CannedReply.prototype.getReply = function ()
351 351
 		getXMLDocument(smf_prepareScriptUrl(this.opt.sScriptUrl) + 'action=helpdesk;sa=ajax;op=canned;ticket=' + this.opt.iTicketId + ';reply=' + iReplyId + ';' + this.opt.sSessionVar + '=' + this.opt.sSessionId + ';xml' + ';mode=' + (oEditorHandle_shd_message.bRichTextEnabled ? 1 : 0), this.onReplyReceived);
352 352
 	}
353 353
 
354
-	// Move the view to the quick reply box.
355
-	if (navigator.appName == 'Microsoft Internet Explorer')
356
-		window.location.hash = this.opt.sJumpAnchor;
357
-	else
358
-		window.location.hash = '#' + this.opt.sJumpAnchor;
359
-
360 354
 	return false;
361 355
 }
362 356
 
363 357