Aralot (aralot) wrote in changelog,
Aralot
aralot
changelog

[ljcom] r10031: LJINT-365: disabling of submit buttons (...

Committer: szhirkov
LJINT-365: disabling of submit buttons (Kommersant comments)
U   trunk/htdocs/js/partners/placeholder.js
Modified: trunk/htdocs/js/partners/placeholder.js
===================================================================
--- trunk/htdocs/js/partners/placeholder.js	2011-02-12 06:54:59 UTC (rev 10030)
+++ trunk/htdocs/js/partners/placeholder.js	2011-02-14 03:18:01 UTC (rev 10031)
@@ -13,7 +13,9 @@
 			$(this).closest('.b-auth-error').fadeOut('fast');
 		});
 		$('form').bind('submit', function () {
-			submitButtons.attr('disabled', 'disabled');
+			if (this.target != "ljidentityauth") {
+				submitButtons.attr('disabled', 'disabled');
+			}
 		});
 	});
 	

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