Closed
Bug 6215
Opened 25 years ago
Closed 25 years ago
OnSubmit method not getting called
Categories
(Core :: Layout, defect, P3)
Tracking
()
People
(Reporter: morse, Assigned: pollmann)
Details
The following content displays a button. Pressing the button should submit the
form and cause control to get to the OnSubmit method on nsFormFrame.cpp. But
control never gets there.
This bug is currently causing the cookie and the single-signon viewers not to
work. It is a regression -- they used to work. So this is blocking development
of those viewers.
<HTML>
<HEAD>
<SCRIPT>
button_frame = 1;
var xxx;
function loadButtons(){
top.frames[button_frame].document.open();
top.frames[button_frame].document.write(
"<FORM name=buttons>" +
"<INPUT type=BUTTON value=OK onclick=parent.clicker()>" +
"<INPUT TYPE=HIDDEN NAME=xxx SIZE=-1>" +
"</FORM>"
);
top.frames[button_frame].document.close();
}
function clicker(){
var xxx = top.frames[button_frame].document.buttons.xxx;
document.cookie = "name=" + xxx.value + ";";
top.frames[button_frame].document.buttons.submit();
}
</SCRIPT>
</HEAD>
<FRAMESET ROWS = 25,25 onLoad=loadButtons()>
<FRAME SRC=about:blank>
<FRAME SRC=about:blank>
</FRAMESET>
<NOFRAMES>
<BODY> <P> </BODY>
</NOFRAMES>
</HTML>
Reporter | ||
Comment 1•25 years ago
|
||
See related bug 6346 which might or might not be a duplicate of this one.
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 3•25 years ago
|
||
Agreed. This is a duplicate of 6346.
You need to log in
before you can comment on or make changes to this bug.
Description
•