Conditional Ajax on table Structure

This commit is contained in:
Marc Delisle
2011-01-27 13:08:33 -05:00
parent 916126d034
commit 5b900ead54
3 changed files with 10 additions and 3 deletions

View File

@@ -477,7 +477,11 @@ class PMA_Index
}
$r .= '<td ' . $row_span . '>'
. ' <a class="drop_primary_key_index_anchor" href="sql.php' . PMA_generate_common_url($this_params)
. ' <a ';
if ($GLOBALS['cfg']['AjaxEnable']) {
$r .= 'class="drop_primary_key_index_anchor" ';
}
$r .= ' href="sql.php' . PMA_generate_common_url($this_params)
. '" >'
. PMA_getIcon('b_drop.png', __('Drop')) . '</a>'
. '</td>' . "\n";