diff options
author | Casper van Donderen <casper.vandonderen@nokia.com> | 2011-10-21 10:18:54 (GMT) |
---|---|---|
committer | Casper van Donderen <casper.vandonderen@nokia.com> | 2011-10-21 10:18:54 (GMT) |
commit | a0d738e5addfbee866c5b5185d14d74a43d51b11 (patch) | |
tree | 92adbe051ee1cefe44a0139b2bcb719238ea81d7 /tools/qdoc3/doc | |
parent | c6ae57e89021d44bbce71d3dd21ee1b833b9d0e2 (diff) | |
download | Qt-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 'tools/qdoc3/doc')
-rwxr-xr-x | tools/qdoc3/doc/config/scripts/functions.js | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/tools/qdoc3/doc/config/scripts/functions.js b/tools/qdoc3/doc/config/scripts/functions.js index 62bc535..af204d8 100755 --- a/tools/qdoc3/doc/config/scripts/functions.js +++ b/tools/qdoc3/doc/config/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.href; - 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 + }); |