diff options
author | portix <none@none> | 2012-12-29 13:04:46 +0100 |
---|---|---|
committer | portix <none@none> | 2012-12-29 13:04:46 +0100 |
commit | 7af387f69c403b32a86724858e051085ef2bd519 (patch) | |
tree | 253604b1609cd18667d07415d6e77defa227e32f /src/view.c | |
parent | 6c1d083ff8de9d79c79f1f16e8c2cf951832cda0 (diff) | |
parent | b4479346804eaaff9252b9f878b21bb859b55956 (diff) | |
download | dwb-7af387f69c403b32a86724858e051085ef2bd519.zip |
Merging with https://bitbucket.org/portix/dwb
Diffstat (limited to 'src/view.c')
-rw-r--r-- | src/view.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -599,6 +599,14 @@ view_navigation_policy_cb(WebKitWebView *web, WebKitWebFrame *frame, WebKitNetwo return true; } break; + case WEBKIT_WEB_NAVIGATION_REASON_FORM_RESUBMITTED: + if (!dwb_confirm(dwb.state.fview, "Resubmit form [y/n]?")) + { + webkit_web_policy_decision_ignore(policy); + return true; + } + break; + default: break; } |