diff --git a/db_search.php b/db_search.php index 627ac2567..ebc5d66b2 100755 --- a/db_search.php +++ b/db_search.php @@ -55,6 +55,9 @@ */ require_once './libraries/common.inc.php'; +$GLOBALS['js_include'][] = 'jquery/jquery-1.4.2.js'; +$GLOBALS['js_include'][] = 'db_search.js'; + /** * Gets some core libraries and send headers */ @@ -129,8 +132,11 @@ if (empty($_REQUEST['field_str']) || ! is_string($_REQUEST['field_str'])) { * Displays top links */ $sub_part = ''; -require './libraries/db_info.inc.php'; +if( $GLOBALS['is_ajax_request'] != true) { + require './libraries/db_info.inc.php'; + echo '