Permalink
Browse files

Added local copies of jquery and jquery ui.

  • Loading branch information...
1 parent 8857ad0 commit e74d0004b9d9bed9e5f8d1f9039e2619da0f7606 @lmandel lmandel committed Feb 28, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 Bugzilla.php
View
@@ -76,19 +76,19 @@ function BugzillaIncludeHTML( &$out, &$sk ) {
global $wgScriptPath;
// Use remote jquery
- $out->addScript('<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>');
+ $out->addScript('<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="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/jquery-ui.min.js"></script>');
+ $out->addScript('<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" );
// Add a remote jquery css file
- $out->addStyle("http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/themes/base/jquery-ui.css");
+ $out->addStyle("$wgScriptPath/extensions/Bugzilla/web/jqueryui/1.8.14/themes/base/jquery-ui.css");
// Add a remote jquery UI theme css file
- $out->addStyle("http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/themes/smoothness/jquery-ui.css");
+ $out->addStyle("$wgScriptPath/extensions/Bugzilla/web/jqueryui/1.8.14/themes/smoothness/jquery-ui.css");
// Add local datatable styles
$out->addStyle("$wgScriptPath/extensions/Bugzilla/web/css/demo_page.css");

0 comments on commit e74d000

Please sign in to comment.