Permalink
Browse files

Corrected local script references.

  • Loading branch information...
1 parent 3e0879e commit a210a376851a3c50faf33fd797a9c6fda7088cc4 @lmandel lmandel committed Mar 1, 2012
Showing with 7 additions and 7 deletions.
  1. +7 −7 Bugzilla.php
View
@@ -75,19 +75,19 @@ function BugzillaIncludeHTML( &$out, &$sk ) {
global $wgScriptPath;
- // Use remote jquery
- $out->addScriptFile('<script type="text/javascript" src="$wgScriptPath/extensions/Bugzilla/web/jquery/1.6.2/jquery.min.js"></script>');
+ // Use local jquery
+ $out->addScriptFile("$wgScriptPath/extensions/Bugzilla/web/jquery/1.6.2/jquery.min.js");
- // Use remote jquery ui
- $out->addScriptFile('<script type="text/javascript" src="$wgScriptPath/extensions/Bugzilla/web/jqueryui/1.8.14/jquery-ui.min.js"></script>');
+ // Use local jquery ui
+ $out->addScriptFile("$wgScriptPath/extensions/Bugzilla/web/jqueryui/1.8.14/jquery-ui.min.js");
// Add a local script file for the datatable
- $out->addScriptFile("$wgScriptPath/extensions/Bugzilla/web/js/jquery.dataTables.js" );
+ $out->addScriptFile("$wgScriptPath/extensions/Bugzilla/web/js/jquery.dataTables.js");
- // Add a remote jquery css file
+ // Add a local jquery css file
$out->addStyle("$wgScriptPath/extensions/Bugzilla/web/jqueryui/1.8.14/themes/base/jquery-ui.css");
- // Add a remote jquery UI theme css file
+ // Add a local jquery UI theme css file
$out->addStyle("$wgScriptPath/extensions/Bugzilla/web/jqueryui/1.8.14/themes/smoothness/jquery-ui.css");
// Add local datatable styles

0 comments on commit a210a37

Please sign in to comment.