Aralot (aralot) wrote in changelog,
Aralot
aralot
changelog

[ljcom] r9981: LJINT-365: IE JS error (Facebook connect...

Committer: szhirkov
LJINT-365: IE JS error (Facebook connect)
U   trunk/templates/Identity/ExternalLogin.tmpl
Modified: trunk/templates/Identity/ExternalLogin.tmpl
===================================================================
--- trunk/templates/Identity/ExternalLogin.tmpl	2011-02-01 11:43:29 UTC (rev 9980)
+++ trunk/templates/Identity/ExternalLogin.tmpl	2011-02-02 07:27:39 UTC (rev 9981)
@@ -54,7 +54,7 @@
 
     <TMPL_LOOP type_openid>
         <li id="tab-<TMPL_VAR type>" class="b-auth-item" style="display:none">
-			<form action="<tmpl_var action>" method="post" target="lj-identity-auth">
+			<form action="<tmpl_var action>" method="post" target="ljidentityauth">
                 <p class="b-auth-desc"><TMPL_VAR expr="ml('/identity/login.bml.openid.desc')"></p>
                 <p class="b-auth-openid-form">
                     <span class="b-auth-input-wrapper">
@@ -73,7 +73,7 @@
 
     <TMPL_LOOP type_facebook>
         <li id="tab-<TMPL_VAR type>" class="b-auth-item" style="display:none">
-			<form action="<tmpl_var action>" method="post" target="lj-identity-auth">
+			<form action="<tmpl_var action>" method="post" target="ljidentityauth">
                 <button type="submit" class="b-facebookbtn" title="<TMPL_VAR expr="ml('/identity/login.bml.facebook.btn.connect')">"><span><i></i><TMPL_VAR expr="ml('/identity/login.bml.facebook.btn.connect')"></span></button>
                 <p class="b-auth-desc"><TMPL_VAR expr="ml('/identity/login.bml.facebook.desc')"></p>
                 <TMPL_IF errors><TMPL_LOOP errors><p class="b-auth-error"><span class="i-message i-message-error"><TMPL_VAR error></span><i class="i-close"></i></p></TMPL_LOOP></TMPL_IF>
@@ -85,7 +85,7 @@
 
     <TMPL_LOOP type_twitter>
         <li id="tab-<TMPL_VAR type>" class="b-auth-item" style="display:none">
-			<form action="<tmpl_var action>" method="post" target="lj-identity-auth">
+			<form action="<tmpl_var action>" method="post" target="ljidentityauth">
                 <button type="submit" class="b-twitterbtn"><span><i></i><TMPL_VAR expr="ml('/identity/login.bml.twitter.btn.connect')"></span></button>
                 <p class="b-auth-desc"><TMPL_VAR expr="ml('/identity/login.bml.twitter.desc')"></p>
                 <TMPL_IF errors><TMPL_LOOP errors><p class="b-auth-error"><span class="i-message i-message-error"><TMPL_VAR error></span><i class="i-close"></i></p></TMPL_LOOP></TMPL_IF>
@@ -113,8 +113,8 @@
         $("form").submit(function(e) {
             var form = $(this);
 
-            if (form.attr("target") == "lj-identity-auth") {
-                window.open("about:blank", "lj-identity-auth", "width=800,height=600");
+            if (form.attr("target") == "ljidentityauth") {
+                window.open("", "ljidentityauth", "width=800,height=600");
             }
         });
     });

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