Fix #16662 - Uncaught TypeError: document.getElementById(...).trigger is not a function

Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2021-02-17 19:52:49 +01:00
parent 48a6b710b4
commit 393ec3365d
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889

View File

@ -184,7 +184,7 @@ AJAX.registerOnload('database/search.js', function () {
$('#sqlqueryform').html(data.sql_query);
/** Refresh the search results after the deletion */
document.getElementById('buttonGo').trigger('click');
$('#buttonGo').trigger('click');
$('#togglequerybox').html(Messages.strHideQueryBox);
/** Show the results of the deletion option */
$('#browse-results').hide();