MDL-33317 Theme: added jQuery noConflict to myMobile

This commit is contained in:
Frederic Massart 2012-06-11 14:54:54 +08:00
parent 4db061680e
commit 4988b54667
3 changed files with 3 additions and 0 deletions

View File

@ -156,6 +156,7 @@ if ($thisdevice == "default" || $thisdevice == "tablet" || optional_param('mymob
// Add the required JavaScript to the page
$THEME->javascripts = array(
'jquery-1.6.4.min',
'jquery-noconflict',
'custom',
'jquery.mobile-1.0',
'scrollview',

View File

@ -0,0 +1 @@
jQuery.noConflict();

View File

@ -36,6 +36,7 @@ if ($showswatch == "light") {
$databodytheme = 'c';
}
$mypagetype = $PAGE->pagetype;
$bodyclasses = array();
echo $OUTPUT->doctype() ?>
<html <?php echo $OUTPUT->htmlattributes() ?>>