From 3e0879ec297ea93be4648feba2aa1d5edc62a468 Mon Sep 17 00:00:00 2001 From: Lawrence Mandel Date: Thu, 1 Mar 2012 12:19:46 -0500 Subject: [PATCH] Fix for bug 729605 - changed addScript to addScriptFile for local js file references. --- Bugzilla.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Bugzilla.php b/Bugzilla.php index beb348b..048997e 100755 --- a/Bugzilla.php +++ b/Bugzilla.php @@ -76,10 +76,10 @@ function BugzillaIncludeHTML( &$out, &$sk ) { global $wgScriptPath; // Use remote jquery - $out->addScript(''); + $out->addScriptFile(''); // Use remote jquery ui - $out->addScript(''); + $out->addScriptFile(''); // Add a local script file for the datatable $out->addScriptFile("$wgScriptPath/extensions/Bugzilla/web/js/jquery.dataTables.js" );