Aralot (aralot) wrote in changelog,
Aralot
aralot
changelog

[livejournal] r20002: LJSUP-9689: "Select image" for FB not wo...

Committer: szhirkov
LJSUP-9689: "Select image" for FB not working on commenting form
U   trunk/templates/CommentForm/Form.tmpl
Modified: trunk/templates/CommentForm/Form.tmpl
===================================================================
--- trunk/templates/CommentForm/Form.tmpl	2011-09-08 09:09:50 UTC (rev 20001)
+++ trunk/templates/CommentForm/Form.tmpl	2011-09-08 09:15:21 UTC (rev 20002)
@@ -115,7 +115,13 @@
 					
 					<div>
 	                    <TMPL_IF show_userpics>
-	                    <span id="userpics">
+
+		                <script type="text/javascript"> 
+		                    var userpicmap=<TMPL_VAR userpicmap>; 
+		                    var defaultpicurl="<TMPL_VAR defaultpicurl>"; 
+		                </script> 
+						
+						<span id="userpics">
 	                        <label for="prop_picture_keyword"><TMPL_VAR ml_picturetouse></label>
 	                        <select name="prop_picture_keyword" id="prop_picture_keyword" tabindex="21">
 	                            <TMPL_LOOP userpics>

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