Aralot (aralot) wrote in changelog,
Aralot
aralot
changelog

[ljcom] r10978: LJINT-453: Can't log if using the AutoCo...

Committer: szhirkov
LJINT-453: Can't log if using the AutoComplete feature for the login/password
U   trunk/templates/Identity/ExternalLogin/v2.tmpl
Modified: trunk/templates/Identity/ExternalLogin/v2.tmpl
===================================================================
--- trunk/templates/Identity/ExternalLogin/v2.tmpl	2011-09-08 03:49:37 UTC (rev 10977)
+++ trunk/templates/Identity/ExternalLogin/v2.tmpl	2011-09-08 05:19:02 UTC (rev 10978)
@@ -178,7 +178,7 @@
                 inputFields = tabItem.find('input:text, input:password, input[type=url]');
             
             inputFields
-                .bind('change keyup', function () {
+                .bind('paste blur focus change keyup', function () {
                     var someInputIsEmpty = false;
                     
                     inputFields.each(function () {
@@ -194,8 +194,11 @@
                     } else {
                         submitButton.removeAttr('disabled');
                     }
-                })
-                .trigger('keyup');
+                });
+
+			$(window).load(function() {
+				inputFields.trigger('keyup');			
+			});
         });        
 
         $("form").submit(function(e) {

Tags: aralot, ljcom, tmpl
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