Closed
Bug 227929
Opened 22 years ago
Closed 22 years ago
Form target is ignored when javascript submit the form to a window
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: ruicapmi, Unassigned)
Details
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.5) Gecko/20031007
Build Identifier: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.5) Gecko/20031007
The same code runs well in Netscape 4.x and IE 4.x, 5.x, 6.x,
But I tryed in Mozilla 1.4.x and 1.5.x and this don't run.
Reproducible: Always
Steps to Reproduce:
1. I have one form
<form method="POST" action="/RequestHandler">
<input type="hidden" name="ANYITEM" value=""/>
......
</form>
2. I execute this script and the window opens ok.
window.open("anypage.html","anyreference")
3. Finally i do this and the results are sended to de opener window
document.forms[0].target="anyreference"
document.forms[0].submit()
Actual Results:
The results are in the opener window and the target is ignored
Expected Results:
The results will must be viewed in the opened window
Comment 1•22 years ago
|
||
Comment 2•22 years ago
|
||
The testcase works fine for me (current trunk build).... Could you please attach
a testcase actually showing the problem?
| Reporter | ||
Comment 3•22 years ago
|
||
| Reporter | ||
Comment 4•22 years ago
|
||
I have it!
browser.block.target_new_window
If this property in prefs.js is enable, produces the BUG efect.
THIS NOT A BUG, but mozilla must alert of this situation, It make me
craizy.
Anyone can propose icon alert in status bar or similar?
| Reporter | ||
Updated•22 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
| Reporter | ||
Updated•22 years ago
|
Status: RESOLVED → VERIFIED
Comment 5•22 years ago
|
||
Why is this marked fixed? AFAIK, it shouldn't be marked fixed unless something's
actually changed.
| Reporter | ||
Comment 6•22 years ago
|
||
Apologize my english,I only try to close my false bug, but I not understain
the posible options, and I commit the most rasonable, how can I make to
help you, reopen bug? what is the correct option?
Comment 7•22 years ago
|
||
Reopening bug to resolve properly - as per comments.
Status: VERIFIED → UNCONFIRMED
Resolution: FIXED → ---
Comment 8•22 years ago
|
||
-> WORKSFORME
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago → 22 years ago
Resolution: --- → WORKSFORME
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•