Be sure to use local variable

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
This commit is contained in:
Hugues Peccatte 2019-08-20 22:34:06 +02:00
parent 14ba5a1b24
commit c23bec2dee

View File

@ -561,7 +561,7 @@ function Add_Other_db_tables () {
'table' : table,
'server': PMA_commonParams.get('server')
}, function (data) {
$new_table_dom = $(data.message);
var $new_table_dom = $(data.message);
$new_table_dom.find('a').first().remove();
$('#container-form').append($new_table_dom);
enableTableEvents(null, $new_table_dom);