mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:08:13 +00:00
LibWeb: When creating form action URL, only include value for the submit
that was used to submit the form
This commit is contained in:
parent
5c46741be8
commit
7f538ea7eb
3 changed files with 5 additions and 4 deletions
|
@ -27,6 +27,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <LibWeb/DOM/HTMLElement.h>
|
||||
#include <LibWeb/DOM/HTMLInputElement.h>
|
||||
|
||||
namespace Web {
|
||||
|
||||
|
@ -38,7 +39,7 @@ public:
|
|||
String action() const { return attribute("action"); }
|
||||
String method() const { return attribute("method"); }
|
||||
|
||||
void submit();
|
||||
void submit(RefPtr<HTMLInputElement> submitter);
|
||||
};
|
||||
|
||||
template<>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue