aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2010-12-16 06:09:14 +0000
committerrvelices <rv-github@modusoptimus.com>2010-12-16 06:09:14 +0000
commitd5549a0bff5e6bf02ad2314b77e611e9d12303dd (patch)
tree2771d7ea38dd6e44cfeac4cb4d90f50168f290cc /include
parent7364bc1606063e03972f35bedb65b1528840ce96 (diff)
jquery upgrade to 1.4.4
git-svn-id: http://piwigo.org/svn/trunk@8162 68402e56-0260-453c-a942-63ccdbb3a9ee
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']))