]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Closes #1100: Added a dummy function to page shell to initialise jquery
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 9 Jul 2009 11:50:14 +0000 (11:50 +0000)
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 9 Jul 2009 11:50:14 +0000 (11:50 +0000)
git-svn-id: https://code.elgg.org/elgg/trunk@3400 36083f99-b078-4883-b0ff-0f9b5a30f544

views/default/page_elements/header.php

index b44b1dc520a85de3c0b54106f474c70a636eba5f..65976334b2cb18d1a8ee14e6d06b15dd145176cf 100644 (file)
@@ -60,7 +60,7 @@ END;
        <meta name="ElggVersion" content="<?php echo $version; ?>" />
        <title><?php echo $title; ?></title>
 
-       <script type="text/javascript" src="<?php echo $vars['url']; ?>vendors/jquery/jquery-1.3.2.min.js"></script>
+       <script type="text/javascript" src="<?php echo $vars['url']; ?>vendors/jquery/jquery-1.3.2.min.js"></script> 
        <script type="text/javascript" src="<?php echo $vars['url']; ?>vendors/jquery/jquery-ui-1.7.2.custom.min.js"></script>
        <script type="text/javascript" src="<?php echo $vars['url']; ?>vendors/jquery/jquery.form.js"></script>
        <script type="text/javascript" src="<?php echo $vars['url']; ?>_css/js.php?lastcache=<?php echo $vars['config']->lastcache; ?>&js=initialise_elgg&viewtype=<?php echo $vars['view']; ?>"></script>
@@ -76,11 +76,17 @@ END;
 ?>
        <!-- include the default css file -->
        <link rel="stylesheet" href="<?php echo $vars['url']; ?>_css/css.css?lastcache=<?php echo $vars['config']->lastcache; ?>&viewtype=<?php echo $vars['view']; ?>" type="text/css" />
-
+       
        <?php 
                echo $feedref;
                echo elgg_view('metatags',$vars); 
        ?>
+       
+       <!-- This is a hack fix #1100. -->
+       <script>
+               $(document).ready(function () {
+               }
+       </script>
 </head>
 
 <body>