Bug 1556363 - Part 1: Check disabled state for submission in a common place; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D129048
This commit is contained in:
@@ -677,11 +677,6 @@ nsresult HTMLTextAreaElement::Reset() {
|
||||
|
||||
NS_IMETHODIMP
|
||||
HTMLTextAreaElement::SubmitNamesValues(FormData* aFormData) {
|
||||
// Disabled elements don't submit
|
||||
if (IsDisabled()) {
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
//
|
||||
// Get the name (if no name, no submit)
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user