summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMorten Engvoldsen <morten.engvoldsen@nokia.com>2011-04-29 12:24:54 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2011-05-04 16:35:59 (GMT)
commit4d14f4dbe40146ed3b6ce41e4c68fc0c31510ad4 (patch)
tree494803fc4124aa52ae732499a2a1572f66dc519e /doc
parentc0e0bfdd451f42b10051e8064153b811080ffa0e (diff)
downloadQt-4d14f4dbe40146ed3b6ce41e4c68fc0c31510ad4.zip
Qt-4d14f4dbe40146ed3b6ce41e4c68fc0c31510ad4.tar.gz
Qt-4d14f4dbe40146ed3b6ce41e4c68fc0c31510ad4.tar.bz2
Fixing potential js hole in the js function for the feedback channel.
(cherry picked from commit 85d7d7a572d3a5e7e8795fa9cc7160f1bf266ea4)
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/src/template/scripts/functions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/template/scripts/functions.js b/doc/src/template/scripts/functions.js
index 62bc535..3ab4a08 100755
--- a/doc/src/template/scripts/functions.js
+++ b/doc/src/template/scripts/functions.js
@@ -184,7 +184,7 @@ var blankRE=/^\s*$/;
function CheckEmptyAndLoadList()
{
/* Start Extracting information for feedback and adding this to the feedback form */
- var pageUrl = window.location.href;
+ var pageUrl = window.location.pathname;
var pageVal = $('title').html();
$('#pageType').removeClass('red');
$('#feedUrl').remove();