diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-05-04 11:50:43 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-05-04 11:50:43 +0200 |
commit | 3f522f6a6729d8662e98dccba4f3b7e0b9a5cc5e (patch) | |
tree | e280eaf23fe6a16735634ad3c2e2ba184f67cbe0 /src/webview.cpp | |
parent | new (and simpler) createWindow implementation.. (diff) | |
download | rekonq-3f522f6a6729d8662e98dccba4f3b7e0b9a5cc5e.tar.xz |
webview acceptNavigationRequest fixes
Diffstat (limited to 'src/webview.cpp')
-rw-r--r-- | src/webview.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/webview.cpp b/src/webview.cpp index 8722dd58..3162e755 100644 --- a/src/webview.cpp +++ b/src/webview.cpp @@ -123,6 +123,12 @@ bool WebPage::acceptNavigationRequest(QWebFrame *frame, const QNetworkRequest &r // user activated a submit button for an HTML form. case QWebPage::NavigationTypeFormSubmitted: kDebug() << "NavigationTypeFormSubmitted"; + kDebug() << request.url(); + break; + + // An HTML form was submitted a second time. + case QWebPage::NavigationTypeFormResubmitted: + kDebug() << "NavigationTypeFormResubmitted"; break; // Navigation to a previously shown document in the back or forward history is requested. @@ -152,13 +158,9 @@ bool WebPage::acceptNavigationRequest(QWebFrame *frame, const QNetworkRequest &r break; - // An HTML form was submitted a second time. - case QWebPage::NavigationTypeFormResubmitted: - kDebug() << "NavigationTypeFormResubmitted"; - break; - // should be nothing.. default: + kDebug() << "Default NON existant case.."; break; } |