Extra line break generated when creating user via Ajax

This commit is contained in:
Marc Delisle
2011-03-02 13:01:17 -05:00
parent 10a4ec1fba
commit 419d067dc3

View File

@@ -1269,7 +1269,10 @@ function PMA_showMessage($message, $sql_query = null, $type = 'notice', $is_view
echo $edit_link . $explain_link . $php_link . $refresh_link . $validate_link;
echo '</div>';
}
echo '</div><br class="clearfloat" />' . "\n";
echo '</div>';
if ($GLOBALS['is_ajax_request'] === false) {
echo '<br class="clearfloat" />';
}
// If we are in an Ajax request, we have most probably been called in
// PMA_ajaxResponse(). Hence, collect the buffer contents and return it