The branch, master has been updated via 06a3aea995af0457f87dd8a4af516c8ca7f89aad (commit) from dab7a58304edd88a913ebe12435ce62e29ccff17 (commit)
- Log ----------------------------------------------------------------- commit 06a3aea995af0457f87dd8a4af516c8ca7f89aad Author: Rouslan Placella rouslan@placella.com Date: Wed Nov 23 17:45:38 2011 +0000
Don't send table links in AJAX responses
-----------------------------------------------------------------------
Summary of changes: tbl_addfield.php | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/tbl_addfield.php b/tbl_addfield.php index 69252e6..ce8735e 100644 --- a/tbl_addfield.php +++ b/tbl_addfield.php @@ -221,7 +221,9 @@ if ($abort == false) { * Displays top menu links */ $active_page = 'tbl_structure.php'; - include_once './libraries/tbl_links.inc.php'; + if ($GLOBALS['is_ajax_request'] != true) { + include_once './libraries/tbl_links.inc.php'; + } /** * Display the form */
hooks/post-receive