mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 23:43:12 +00:00
Fix query debug JS
This commit is contained in:
@@ -464,7 +464,10 @@ function initAnswerForm() {
|
|||||||
success: function (datas) {
|
success: function (datas) {
|
||||||
|
|
||||||
// DEBUG QUERY PARSER
|
// DEBUG QUERY PARSER
|
||||||
console.info(JSON.parse(datas.parsed_query));
|
try {
|
||||||
|
console.info(JSON.parse(datas.parsed_query));
|
||||||
|
}
|
||||||
|
catch(e) {}
|
||||||
|
|
||||||
|
|
||||||
$('#answers').empty().append(datas.results).removeClass('loading');
|
$('#answers').empty().append(datas.results).removeClass('loading');
|
||||||
|
Reference in New Issue
Block a user