Removed inline call to confirmLink() for 'Drop Procedure'

This commit is contained in:
ninadsp
2010-07-11 02:32:10 +05:30
parent 70a8735c07
commit d5ed68aa71
3 changed files with 29 additions and 2 deletions

View File

@@ -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 . '&amp;sql_query=' . urlencode($definition) . '&amp;show_query=1&amp;delimiter=' . urlencode($delimiter), $titles['Structure']) : '&nbsp;',
'<a href="sql.php?' . $url_query . '&amp;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 . '&amp;sql_query=' . urlencode($sqlDropProc) . '" >' . $titles['Drop'] . '</a>',
$routine['ROUTINE_TYPE'],
$routine['DTD_IDENTIFIER']);
$routine['DTD_IDENTIFIER'],
$sqlDropProc);
$ct++;
}
echo '</table>';