Aralot (aralot) wrote in changelog,
Aralot
aralot
changelog

[ljcom] r9933: LJINT-365: error messages closing in aut...

Committer: szhirkov
LJINT-365: error messages closing in auth form
U   trunk/htdocs/js/partners/placeholder.js
Modified: trunk/htdocs/js/partners/placeholder.js
===================================================================
--- trunk/htdocs/js/partners/placeholder.js	2011-01-21 07:15:40 UTC (rev 9932)
+++ trunk/htdocs/js/partners/placeholder.js	2011-01-21 07:26:22 UTC (rev 9933)
@@ -1,6 +1,10 @@
 (function ($) {
 	$(function () {
 		$('input:text, input:password, textarea').placeholder();
+		$('.i-close').bind('click', function (e) {
+			e.preventDefault();
+			$(this).closest('.b-auth-error').hide();
+		});
 	});
 	
 	$.fn.placeholder = function () {

Tags: aralot, js, ljcom
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments