diff options
author | Michal Čihař <michal@cihar.com> | 2017-12-15 10:36:23 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2017-12-15 10:36:23 +0300 |
commit | c162a75b9b967e9f333a2be9a363c8a6ac9038ae (patch) | |
tree | 76093fe652e4aff621b95b15dbb92cada98b68ac /tbl_replace.php | |
parent | 4845ee68c86922d0ffbb4330f02016a54c29266c (diff) |
Improve javascript loading
- jquery-ui-timepicker-addon.js is loaded in Header, no need to load it
elsewhere
- jquery.validate.js is needed on way to many pages to benefit of
loading only on some of them
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'tbl_replace.php')
-rw-r--r-- | tbl_replace.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tbl_replace.php b/tbl_replace.php index 69c5ba0e71..e45d2b2e93 100644 --- a/tbl_replace.php +++ b/tbl_replace.php @@ -454,8 +454,6 @@ if (! empty($return_to_sql_query)) { $GLOBALS['sql_query'] = $return_to_sql_query; } -$scripts->addFile('vendor/jquery/jquery-ui-timepicker-addon.js'); -$scripts->addFile('vendor/jquery/jquery.validate.js'); $scripts->addFile('vendor/jquery/additional-methods.js'); $scripts->addFile('tbl_change.js'); |