mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-13 03:24:26 +00:00
Checkin for fix 104761. If the target window has a context associated with it, use it.
Fix was originally provided by toshok.
This commit is contained in:
parent
60a147bc1d
commit
715d468d91
@ -2888,6 +2888,12 @@ fe_mocha_submit_form_cb (MWContext *context, LO_Element *element, int32 event,
|
||||
}
|
||||
|
||||
NET_AddLOSubmitDataToURLStruct (data, url);
|
||||
if (data->window_target)
|
||||
{
|
||||
context = XP_FindNamedContextInList(context, data->window_target);
|
||||
data->window_target = NULL;
|
||||
}
|
||||
|
||||
|
||||
fe_GetURL (context, url, FALSE);
|
||||
LO_FreeSubmitData (data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user