input element can not be under tr

This prevented the JS confirmation to work with Chromium, because it
moved the element outside the table.
This commit is contained in:
Michal Čihař
2011-01-28 10:40:23 +01:00
parent 701268fb57
commit 85ab22ddc0
2 changed files with 4 additions and 5 deletions

View File

@@ -199,7 +199,7 @@ $(document).ready(function() {
/**
* @var question String containing the question to be asked for confirmation
*/
var question = $(curr_proc_row).children('.drop_procedure_sql').val();
var question = $(curr_proc_row).children('td').children('.drop_procedure_sql').val();
$(this).PMA_confirm(question, $(this).attr('href'), function(url) {