Suppress the printing of the serverlinks and topmenucontainer divs when
in an ajax request
This commit is contained in:
2
sql.php
2
sql.php
@@ -576,6 +576,7 @@ else {
|
||||
} else {
|
||||
$GLOBALS['js_include'][] = 'functions.js';
|
||||
unset($message);
|
||||
if( $GLOBALS['is_ajax_request'] != true) {
|
||||
if (strlen($table)) {
|
||||
require './libraries/tbl_common.php';
|
||||
$url_query .= '&goto=tbl_sql.php&back=tbl_sql.php';
|
||||
@@ -589,6 +590,7 @@ else {
|
||||
require './libraries/server_links.inc.php';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (strlen($db)) {
|
||||
require_once './libraries/relation.lib.php';
|
||||
|
Reference in New Issue
Block a user