summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorCasper van Donderen <casper.vandonderen@nokia.com>2011-10-21 10:18:54 (GMT)
committerCasper van Donderen <casper.vandonderen@nokia.com>2011-10-21 10:18:54 (GMT)
commita0d738e5addfbee866c5b5185d14d74a43d51b11 (patch)
tree92adbe051ee1cefe44a0139b2bcb719238ea81d7 /doc
parentc6ae57e89021d44bbce71d3dd21ee1b833b9d0e2 (diff)
downloadQt-a0d738e5addfbee866c5b5185d14d74a43d51b11.zip
Qt-a0d738e5addfbee866c5b5185d14d74a43d51b11.tar.gz
Qt-a0d738e5addfbee866c5b5185d14d74a43d51b11.tar.bz2
Fix security issue on website due to bad JS.
Reviewed-by: Trust Me
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/src/template/scripts/functions.js13
1 files changed, 1 insertions, 12 deletions
diff --git a/doc/src/template/scripts/functions.js b/doc/src/template/scripts/functions.js
index 3ab4a08..af204d8 100755
--- a/doc/src/template/scripts/functions.js
+++ b/doc/src/template/scripts/functions.js
@@ -183,17 +183,6 @@ var blankRE=/^\s*$/;
function CheckEmptyAndLoadList()
{
- /* Start Extracting information for feedback and adding this to the feedback form */
- var pageUrl = window.location.pathname;
- var pageVal = $('title').html();
- $('#pageType').removeClass('red');
- $('#feedUrl').remove();
- $('#pageVal').remove();
- $('.menuAlert').remove();
- $('#feedform').append('<input id="feedUrl" name="feedUrl" value="'+pageUrl+'" style="display:none;">');
- $('#feedform').append('<input id="pageVal" name="pageVal" value="'+pageVal+'" style="display:none;">');
- /* End Extracting information for feedback and adding this to the feedback form */
-
/* extracts search query */
var value = document.getElementById('pageType').value;
/* if the search is less than three chars long remove class names and remove elements from old search*/
@@ -255,4 +244,4 @@ function CheckEmptyAndLoadList()
});
}, 500); /* timer set to 500 ms */
});
- }); \ No newline at end of file
+ });