Permalink
Browse files

Fix for bug 729605 - changed addScript to addScriptFile for local js …

…file

references.
  • Loading branch information...
1 parent b8f86dc commit 3e0879ec297ea93be4648feba2aa1d5edc62a468 @lmandel lmandel committed Mar 1, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Bugzilla.php
View
4 Bugzilla.php
@@ -76,10 +76,10 @@ function BugzillaIncludeHTML( &$out, &$sk ) {
global $wgScriptPath;
// Use remote jquery
- $out->addScript('<script type="text/javascript" src="$wgScriptPath/extensions/Bugzilla/web/jquery/1.6.2/jquery.min.js"></script>');
+ $out->addScriptFile('<script type="text/javascript" src="$wgScriptPath/extensions/Bugzilla/web/jquery/1.6.2/jquery.min.js"></script>');
// Use remote jquery ui
- $out->addScript('<script type="text/javascript" src="$wgScriptPath/extensions/Bugzilla/web/jqueryui/1.8.14/jquery-ui.min.js"></script>');
+ $out->addScriptFile('<script type="text/javascript" src="$wgScriptPath/extensions/Bugzilla/web/jqueryui/1.8.14/jquery-ui.min.js"></script>');
// Add a local script file for the datatable
$out->addScriptFile("$wgScriptPath/extensions/Bugzilla/web/js/jquery.dataTables.js" );

0 comments on commit 3e0879e

Please sign in to comment.