diff --git a/db_sql.php b/db_sql.php index 2ac198bda..500cf335b 100755 --- a/db_sql.php +++ b/db_sql.php @@ -14,6 +14,9 @@ require_once './libraries/common.inc.php'; /** * Runs common work */ +$GLOBALS['js_include'][] = 'functions.js'; +$GLOBALS['js_include'][] = 'sql.js'; + require './libraries/db_common.inc.php'; require_once './libraries/sql_query_form.lib.php'; diff --git a/server_sql.php b/server_sql.php index 54141b101..024087a9d 100755 --- a/server_sql.php +++ b/server_sql.php @@ -15,6 +15,8 @@ require_once './libraries/common.inc.php'; * Does the common work */ $GLOBALS['js_include'][] = 'functions.js'; +$GLOBALS['js_include'][] = 'sql.js'; + require_once './libraries/server_common.inc.php'; require_once './libraries/sql_query_form.lib.php'; diff --git a/tbl_sql.php b/tbl_sql.php index 5565d923b..3f67d1bd4 100755 --- a/tbl_sql.php +++ b/tbl_sql.php @@ -14,6 +14,9 @@ require_once './libraries/common.inc.php'; /** * Runs common work */ +$GLOBALS['js_include'][] = 'functions.js'; +$GLOBALS['js_include'][] = 'sql.js'; + require './libraries/tbl_common.php'; $url_query .= '&goto=tbl_sql.php&back=tbl_sql.php';