summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorCasper van Donderen <casper.vandonderen@nokia.com>2011-10-21 12:14:58 +0200
committerCasper van Donderen <casper.vandonderen@nokia.com>2011-10-21 12:15:59 +0200
commite2b892c48c986c38f431b1af98023d16af53bc96 (patch)
treef5732c160b16c959ccd943a49e3c44b79f829efc /doc
parent65c5f90299193d1ef658b9b17cab551e03fbe14a (diff)
Fix security problem on webpage 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 3ab4a082a7..af204d8d06 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
+ });