input element can not be under tr

Confirmation for DROP index did not work.
This commit is contained in:
Michal Čihař
2011-01-28 10:49:20 +01:00
parent 85ab22ddc0
commit 1fc9371c6c
2 changed files with 4 additions and 5 deletions

View File

@@ -119,7 +119,7 @@ $(document).ready(function() {
*/
var curr_row = $(this).parents('tr');
var question = $(curr_row).children('.drop_primary_key_index_msg').val();
var question = $(curr_row).children('td').children('.drop_primary_key_index_msg').val();
$(this).PMA_confirm(question, $(this).attr('href'), function(url) {