Removed inline call to confirmLink() for 'Drop Procedure'
This commit is contained in:
@@ -76,13 +76,15 @@ if ($routines) {
|
||||
<td>%s</td>
|
||||
<td>%s</td>
|
||||
<td>%s</td>
|
||||
<input type="hidden" class="drop_procedure_sql" value="%s" />
|
||||
</tr>',
|
||||
($ct%2 == 0) ? 'even' : 'odd',
|
||||
$routine['ROUTINE_NAME'],
|
||||
! empty($definition) ? PMA_linkOrButton('db_sql.php?' . $url_query . '&sql_query=' . urlencode($definition) . '&show_query=1&delimiter=' . urlencode($delimiter), $titles['Structure']) : ' ',
|
||||
'<a href="sql.php?' . $url_query . '&sql_query=' . urlencode($sqlDropProc) . '" onclick="return confirmLink(this, \'' . PMA_jsFormat($sqlDropProc, false) . '\')">' . $titles['Drop'] . '</a>',
|
||||
'<a class="drop_procedure_anchor" href="sql.php?' . $url_query . '&sql_query=' . urlencode($sqlDropProc) . '" >' . $titles['Drop'] . '</a>',
|
||||
$routine['ROUTINE_TYPE'],
|
||||
$routine['DTD_IDENTIFIER']);
|
||||
$routine['DTD_IDENTIFIER'],
|
||||
$sqlDropProc);
|
||||
$ct++;
|
||||
}
|
||||
echo '</table>';
|
||||
|
Reference in New Issue
Block a user