Skip to content

Commit

Permalink
Fix for bug 729605 - changed addScript to addScriptFile for local js …
Browse files Browse the repository at this point in the history
…file

references.
  • Loading branch information
lmandel committed Mar 1, 2012
1 parent b8f86dc commit 3e0879e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Bugzilla.php
Expand Up @@ -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" );
Expand Down

0 comments on commit 3e0879e

Please sign in to comment.