summaryrefslogtreecommitdiff
path: root/render/form.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/form.c')
-rw-r--r--render/form.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/render/form.c b/render/form.c
index ac5dbe9cc..d11630192 100644
--- a/render/form.c
+++ b/render/form.c
@@ -1500,7 +1500,7 @@ void form_submit(hlcache_handle *h, struct browser_window *target,
url_destroy_components(&components);
- browser_window_go(target, url, nsurl_access(content_get_url(h)),
+ browser_window_go(target, url, nsurl_access(hlcache_handle_get_url(h)),
true);
break;
@@ -1513,13 +1513,13 @@ void form_submit(hlcache_handle *h, struct browser_window *target,
}
browser_window_go_post(target, form->action, data, 0,
- true, nsurl_access(content_get_url(h)),
+ true, nsurl_access(hlcache_handle_get_url(h)),
false, true, 0);
break;
case method_POST_MULTIPART:
browser_window_go_post(target, form->action, 0,
- success, true, nsurl_access(content_get_url(h)),
+ success, true, nsurl_access(hlcache_handle_get_url(h)),
false, true, 0);
break;
}