diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-02 03:10:57 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-02 03:10:57 +0000 |
commit | 4d80bc33b8924038bd1ca57d548828afe661bb42 (patch) | |
tree | 600b8a2d46ea899d35582667ed00049a0a4367cc /views/default/account/login_dropdown.php | |
parent | 89ded32abebd0f2100e0014249df54bde7a44258 (diff) | |
download | elgg-4d80bc33b8924038bd1ca57d548828afe661bb42.tar.gz elgg-4d80bc33b8924038bd1ca57d548828afe661bb42.tar.bz2 |
Refs #2700 replaced most underscores with hyphens - there may be broken display code due to extent of this change
git-svn-id: http://code.elgg.org/elgg/trunk@7493 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/account/login_dropdown.php')
-rw-r--r-- | views/default/account/login_dropdown.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/views/default/account/login_dropdown.php b/views/default/account/login_dropdown.php index 29eca2347..dc124f4e8 100644 --- a/views/default/account/login_dropdown.php +++ b/views/default/account/login_dropdown.php @@ -18,11 +18,11 @@ if ((isset($CONFIG->https_login)) && ($CONFIG->https_login)) { ?> -<div id="login_dropdown"> - <div id="signin_button" class="signin_button"> +<div id="login-dropdown"> + <div id="signin-button" class="signin-button"> <a href="<?php echo $CONFIG->url; ?>pg/login" class="signin"><span><?php echo elgg_echo('login') ?></span></a> </div> - <fieldset id="signin_menu"> + <fieldset id="signin-menu"> <?php echo elgg_view('input/form', array('body' => $form_body, 'action' => "{$login_url}action/login")); ?> </fieldset> </div> @@ -32,19 +32,19 @@ $(document).ready(function() { $(".signin").click(function(e) { e.preventDefault(); - $("fieldset#signin_menu").toggle(); - $(".signin").toggleClass("menu_open"); - $('.login_textarea.name').focus(); + $("fieldset#signin-menu").toggle(); + $(".signin").toggleClass("menu-open"); + $('.login-textarea.name').focus(); }); - $("fieldset#signin_menu").mouseup(function() { + $("fieldset#signin-menu").mouseup(function() { return false }); $(document).mouseup(function(e) { if($(e.target).parent("a.signin").length==0) { - $(".signin").removeClass("menu_open"); - $("fieldset#signin_menu").hide(); + $(".signin").removeClass("menu-open"); + $("fieldset#signin-menu").hide(); } }); |