setSuggestions eval removed
This commit is contained in:
@@ -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 ){
|
||||
|
||||
|
||||
Reference in New Issue
Block a user