diff options
author | Sebastian Mendel <cybot_tm@users.sourceforge.net> | 2007-10-04 13:22:50 +0400 |
---|---|---|
committer | Sebastian Mendel <cybot_tm@users.sourceforge.net> | 2007-10-04 13:22:50 +0400 |
commit | 40b3ce9fd191d00159c601b986f92291a4bfccb5 (patch) | |
tree | 6c15bf472e002dc3514b045153588bb17c497cb9 /tbl_row_action.php | |
parent | e9f1ed82c6fdb783f98884d670097175df03e484 (diff) |
use array to define included JavaScript libraries
Diffstat (limited to 'tbl_row_action.php')
-rw-r--r-- | tbl_row_action.php | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/tbl_row_action.php b/tbl_row_action.php index 50626f105c..e6497783bb 100644 --- a/tbl_row_action.php +++ b/tbl_row_action.php @@ -70,13 +70,8 @@ switch($submit_mult) { break; } -if ($submit_mult == 'row_edit') { - $js_to_run = 'tbl_change.js'; -} - -if ($submit_mult == 'row_delete' || $submit_mult == 'row_export') { - $js_to_run = 'functions.js'; -} +$GLOBALS['js_include'][] = 'tbl_change.js'; +$GLOBALS['js_include'][] = 'functions.js'; require_once './libraries/header.inc.php'; |