setSuggestions eval removed

This commit is contained in:
IsaiDiaz
2025-06-16 15:01:32 -04:00
parent 91f47831a0
commit d1ea3db145

View File

@@ -285,7 +285,7 @@ _b.AutoSuggest.prototype.setSuggestions = function (req, input)
if (this.oP.json)
{
var jsondata = eval('(' + req.responseText + ')');
var jsondata = JSON.parse(req.responseText);
if( jsondata.status == 0 ){