summaryrefslogtreecommitdiff
path: root/src/protocolhandler.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-09-01 01:39:43 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-09-01 01:39:43 +0200
commitb08c67eb1e45cb94dc6250fe555d84f0c0e7debe (patch)
treecde7d4e24a8592053842beeb861b60d6180d8195 /src/protocolhandler.cpp
parentLet urlbar being usable also in fullscreen mode (diff)
downloadrekonq-b08c67eb1e45cb94dc6250fe555d84f0c0e7debe.tar.xz
This hacks should fix (a lot of) javascript handling.
Hope this will be properly fixed upstream in KIO... Please, Jurian & Pano. Let me know if this has been really fixed. BUG: 242886
Diffstat (limited to 'src/protocolhandler.cpp')
-rw-r--r--src/protocolhandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/protocolhandler.cpp b/src/protocolhandler.cpp
index d52433bc..a260ad06 100644
--- a/src/protocolhandler.cpp
+++ b/src/protocolhandler.cpp
@@ -94,6 +94,7 @@ bool ProtocolHandler::preHandling(const QNetworkRequest &request, QWebFrame *fra
// javascript handling
if (_url.protocol() == QL1S("javascript"))
{
+ kDebug() << "JAVASCRIPT URL: " << _url;
QString scriptSource = _url.authority();
if(scriptSource.isEmpty()) {
// if javascript:<code here> then authority() returns