diff --git a/js/db_structure.js b/js/db_structure.js index 03aa8e158..8b529d75d 100644 --- a/js/db_structure.js +++ b/js/db_structure.js @@ -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) { diff --git a/libraries/db_routines.inc.php b/libraries/db_routines.inc.php index 49819dd1a..d898d0084 100644 --- a/libraries/db_routines.inc.php +++ b/libraries/db_routines.inc.php @@ -65,20 +65,19 @@ if ($routines) { $sqlDropProc = 'DROP FUNCTION ' . PMA_backquote($routine['SPECIFIC_NAME']); } echo sprintf('