diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-11-16 07:07:16 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-11-16 07:07:16 +0000 |
commit | b8b60df391637ff21bb79ba64f820749ef324ee9 (patch) | |
tree | ce355ab236325ca74858220de8f8a65db0617df7 /themes/default/js/user.js | |
parent | be67187ad95526b378decbab7cb7623fcf9ef5f3 (diff) |
Rename gLogin -> gLoginForm
This disambiguates forms from blocks (for example in the comment
module we were calling both the form and block gComments).
Diffstat (limited to 'themes/default/js/user.js')
-rw-r--r-- | themes/default/js/user.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/js/user.js b/themes/default/js/user.js index fb203229..33aeaa60 100644 --- a/themes/default/js/user.js +++ b/themes/default/js/user.js @@ -9,7 +9,7 @@ function show_login(url) { function ajaxify_login_form() { $("#gLoginMenu form ul").addClass("gInline"); - $("form#gLogin").ajaxForm({ + $("form#gLoginForm").ajaxForm({ target: "#gLoginFormContainer", success: function(responseText, statusText) { if (!responseText) { @@ -22,7 +22,7 @@ function ajaxify_login_form() { } function close_login() { - $("#gLogin").remove(); + $("#gLoginForm").remove(); $("#gLoginClose").hide(); $("#gLoginLink").show(); $("input#gUsername").val(""); |