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
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user