From 18858ba7f52c3c88c5afa486bf5a3494f5b15930 Mon Sep 17 00:00:00 2001 From: "bugzilla%standard8.demon.co.uk" Date: Fri, 27 Apr 2007 12:26:42 +0000 Subject: [PATCH] Bug 253787 In nsContextMenu.js, 'Warning: reference to undefined property docshell.document.charset' (and other warnings/errors) (Cv1a undeclared |type|) p=Serge Gautherie,r=mscott,sr=neil git-svn-id: svn://10.0.0.236/trunk@225141 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/mail/base/content/nsContextMenu.js | 1 - mozilla/xpfe/communicator/resources/content/nsContextMenu.js | 1 - 2 files changed, 2 deletions(-) diff --git a/mozilla/mail/base/content/nsContextMenu.js b/mozilla/mail/base/content/nsContextMenu.js index 01ab5c7df0a..1e447e63e37 100644 --- a/mozilla/mail/base/content/nsContextMenu.js +++ b/mozilla/mail/base/content/nsContextMenu.js @@ -268,7 +268,6 @@ nsContextMenu.prototype = { if ( this.target.ownerDocument instanceof ImageDocument ) this.onStandaloneImage = true; } else if ( this.target instanceof HTMLInputElement) { - type = this.target.getAttribute("type"); this.onTextInput = this.isTargetATextBox(this.target); } else if ( this.target instanceof HTMLTextAreaElement ) { this.onTextInput = true; diff --git a/mozilla/xpfe/communicator/resources/content/nsContextMenu.js b/mozilla/xpfe/communicator/resources/content/nsContextMenu.js index d0a9a904f66..b27c6a0b17b 100644 --- a/mozilla/xpfe/communicator/resources/content/nsContextMenu.js +++ b/mozilla/xpfe/communicator/resources/content/nsContextMenu.js @@ -296,7 +296,6 @@ nsContextMenu.prototype = { if ( this.target.ownerDocument instanceof ImageDocument ) this.onStandaloneImage = true; } else if ( this.target instanceof HTMLInputElement ) { - type = this.target.getAttribute("type"); this.onTextInput = this.isTargetATextBox(this.target); } else if ( this.target instanceof HTMLTextAreaElement ) { this.onTextInput = true;