diff options
author | Casper van Donderen <casper.vandonderen@nokia.com> | 2011-10-21 12:14:58 +0200 |
---|---|---|
committer | Casper van Donderen <casper.vandonderen@nokia.com> | 2011-10-21 12:15:59 +0200 |
commit | e2b892c48c986c38f431b1af98023d16af53bc96 (patch) | |
tree | f5732c160b16c959ccd943a49e3c44b79f829efc /tools/qdoc3/doc/config/scripts/functions.js | |
parent | 65c5f90299193d1ef658b9b17cab551e03fbe14a (diff) | |
download | qt4-tools-e2b892c48c986c38f431b1af98023d16af53bc96.tar.gz |
Fix security problem on webpage due to bad JS
Reviewed-by: Trust Me
Diffstat (limited to 'tools/qdoc3/doc/config/scripts/functions.js')
-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 62bc53508e..af204d8d06 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 + }); |