mirror of
https://github.com/rkd77/elinks.git
synced 2025-06-30 22:19:29 -04:00
[session] Set referrer based on ses->doc_view not current_frame
This commit is contained in:
parent
8596d604cc
commit
789be0be41
@ -870,7 +870,7 @@ request_additional_file(struct session *ses, const char *name, struct uri *uri,
|
|||||||
static void
|
static void
|
||||||
load_additional_file(struct file_to_load *ftl, cache_mode_T cache_mode)
|
load_additional_file(struct file_to_load *ftl, cache_mode_T cache_mode)
|
||||||
{
|
{
|
||||||
struct document_view *doc_view = current_frame(ftl->ses);
|
struct document_view *doc_view = ftl->ses->doc_view;
|
||||||
struct uri *referrer = doc_view && doc_view->document
|
struct uri *referrer = doc_view && doc_view->document
|
||||||
? doc_view->document->uri : NULL;
|
? doc_view->document->uri : NULL;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user