mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1060423 - Cut function in a readonly textarea. r=mfinkle r=markcapella
This commit is contained in:
parent
96f0c13688
commit
7fc83e6d8a
@ -797,8 +797,8 @@ var SelectionHandler = {
|
||||
},
|
||||
|
||||
isElementEditableText: function (aElement) {
|
||||
return ((aElement instanceof HTMLInputElement && aElement.mozIsTextField(false)) ||
|
||||
(aElement instanceof HTMLTextAreaElement));
|
||||
return (((aElement instanceof HTMLInputElement && aElement.mozIsTextField(false)) ||
|
||||
(aElement instanceof HTMLTextAreaElement)) && !aElement.readOnly);
|
||||
},
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user