Eval form history script so it applies to the right frame
webkit_web_view_execute_script always works on the web view.
This commit is contained in:
parent
747b882d2d
commit
49d452a438
1 changed files with 2 additions and 3 deletions
|
@ -290,13 +290,12 @@ formhistory_session_request_queued_cb (SoupSession* session,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static void
|
static void
|
||||||
formhistory_window_object_cleared_cb (GtkWidget* web_view,
|
formhistory_window_object_cleared_cb (WebKitWebView* web_view,
|
||||||
WebKitWebFrame* web_frame,
|
WebKitWebFrame* web_frame,
|
||||||
JSContextRef js_context,
|
JSContextRef js_context,
|
||||||
JSObjectRef js_window)
|
JSObjectRef js_window)
|
||||||
{
|
{
|
||||||
webkit_web_view_execute_script (WEBKIT_WEB_VIEW (web_view),
|
sokoke_js_script_eval (js_context, formhistory_build_js (), NULL);
|
||||||
formhistory_build_js ());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue