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:
radha 1998-05-08 19:24:28 +00:00
parent 60a147bc1d
commit 715d468d91

View File

@ -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);