diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-07-09 11:50:14 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-07-09 11:50:14 +0000 |
commit | fde31af6f9d44cbf34069eeed4a1b45bb8388d44 (patch) | |
tree | 6803d2605831696b84e6525047adea9353fb38e9 /views/default/page_elements/header.php | |
parent | 042cdf2a43e5f226a6303f976fb0b6fb9e91e5df (diff) | |
download | elgg-fde31af6f9d44cbf34069eeed4a1b45bb8388d44.tar.gz elgg-fde31af6f9d44cbf34069eeed4a1b45bb8388d44.tar.bz2 |
Closes #1100: Added a dummy function to page shell to initialise jquery
git-svn-id: https://code.elgg.org/elgg/trunk@3400 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page_elements/header.php')
-rw-r--r-- | views/default/page_elements/header.php | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/views/default/page_elements/header.php b/views/default/page_elements/header.php index b44b1dc52..65976334b 100644 --- a/views/default/page_elements/header.php +++ b/views/default/page_elements/header.php @@ -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> |