For proper conversion of the Edit link to Inline Edit

This commit is contained in:
Marc Delisle
2011-02-22 07:48:47 -05:00
parent 9948d179ba
commit 019b9de9da

View File

@@ -101,9 +101,8 @@ function PMA_getIcon($icon, $alternate = '', $container = false, $force_text = f
$include_box = true;
}
if ($include_box) {
// Always use a span (we rely on this in js/sql.js)
$button .= '<span class="nowrap">';
}
if ($include_icon) {
$button .= '<img src="' . $GLOBALS['pmaThemeImage'] . $icon . '"'
@@ -119,9 +118,7 @@ function PMA_getIcon($icon, $alternate = '', $container = false, $force_text = f
$button .= $alternate;
}
if ($include_box) {
$button .= '</span>';
}
return $button;
}