aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/template.class.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/template.class.php b/include/template.class.php
index 6cba4984f..666f913b7 100644
--- a/include/template.class.php
+++ b/include/template.class.php
@@ -523,6 +523,12 @@ class Template {
return;
}
$id = $params['id'];
+ trigger_error("known_script is deprecated $id ".@$params['src'], E_USER_WARNING);
+ if ('jquery'==$id)
+ {
+ $this->scriptLoader->add($id, 0, array(), null);
+ return;
+ }
if (! isset( $this->known_scripts[$id] ) )
{
if (!isset($params['src']))