Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2012-12-19 22:44:29 +01:00
commit 63c9843f70
2 changed files with 6 additions and 4 deletions

View File

@ -247,9 +247,11 @@ var AJAX = {
.not('#session_debug')
.remove();
// Replace #page_content with new content
$('#page_content').replaceWith(
"<div id='page_content'>" + data.message + "</div>"
);
if(data.message && data.message.length > 0) {
$('#page_content').replaceWith(
"<div id='page_content'>" + data.message + "</div>"
);
}
if (data._selflink) {
$('#selflink > a').attr('href', data._selflink);

View File

@ -120,7 +120,7 @@ url_query = '<?php echo $url_query;?>';
</script>
<!-- Display Chart options -->
<div id="div_view_options">
<form method="post" id="tblchartform" action="tbl_chart.php">
<form method="post" id="tblchartform" action="tbl_chart.php" class="ajax">
<?php echo PMA_generate_common_hidden_inputs($url_params); ?>
<fieldset>
<legend><?php echo __('Display chart'); ?></legend>