mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Fix module library XSS
This commit is contained in:
parent
aae620c407
commit
7bdf103725
@ -154,8 +154,10 @@ $(document).ready(function() {
|
|||||||
|
|
||||||
if (selector == "search") {
|
if (selector == "search") {
|
||||||
$("#search_title_result h2").append(
|
$("#search_title_result h2").append(
|
||||||
"<span class='pandora_green_text'>" + search_modules + "</span>"
|
"<span class='pandora_green_text' id='search_string'></span>"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
$("#search_string").text(search_modules);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (total_posts < 1) {
|
if (total_posts < 1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user