Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…file

references.
  • Loading branch information...
commit 3e0879ec297ea93be4648feba2aa1d5edc62a468 1 parent b8f86dc
@lmandel lmandel authored
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" );
Please sign in to comment.
Something went wrong with that request. Please try again.