Aralot (aralot) wrote in changelog,
Aralot
aralot
changelog

[livejournal] r18623: LJSUP-8230: old comment form js code fix...

Committer: szhirkov
LJSUP-8230: old comment form js code fixes
U   trunk/htdocs/js/talkpost.js
Modified: trunk/htdocs/js/talkpost.js
===================================================================
--- trunk/htdocs/js/talkpost.js	2011-03-17 15:17:38 UTC (rev 18622)
+++ trunk/htdocs/js/talkpost.js	2011-03-18 03:47:27 UTC (rev 18623)
@@ -12,6 +12,8 @@
     var radio_twli = document.getElementById("talkpostfromtwli");
     var radio_oidlo = document.getElementById("talkpostfromoidlo");
     var radio_oidli = document.getElementById("talkpostfromoidli");
+    var radio_mrlo = document.getElementById("talkpostfrommrlo");
+    var radio_mrli = document.getElementById("talkpostfrommrli");	
 
     var check_login = document.getElementById("logincheck");
     var sel_pickw = document.getElementById("prop_picture_keyword");
@@ -156,7 +158,7 @@
 
 function submitHandler() {
     if (remote && username.value == remote && ((! radio_anon || ! radio_anon.checked) && 
-        (! radio_oidlo || ! radio_oidlo.checked) && (! radio_fblo || ! radio_fblo.checked) && (! radio_twlo || ! radio_twlo.checked))) {
+        (! radio_oidlo || ! radio_oidlo.checked) && (! radio_fblo || ! radio_fblo.checked) && (! radio_twlo || ! radio_twlo.checked) && (! radio_mrlo || ! radio_mrlo.checked))) {
         // Quietly arrange for cookieuser auth instead, to avoid
         // sending cleartext password.
         password.value = "";

Tags: aralot, js, livejournal
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