From b8b60df391637ff21bb79ba64f820749ef324ee9 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 16 Nov 2008 07:07:16 +0000 Subject: Rename gLogin -> gLoginForm This disambiguates forms from blocks (for example in the comment module we were calling both the form and block gComments). --- themes/default/js/user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'themes/default/js/user.js') 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(""); -- cgit v1.2.3