AJAX condition deleted from Views::toJSON

Signed-off-by: fpumir <fpumir@terredeweb.fr>