Fix #16662 - Uncaught TypeError: document.getElementById(...).trigger is not a function
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
parent
48a6b710b4
commit
393ec3365d
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user