alf (red_alf) wrote in changelog,
alf
red_alf
changelog

[ljcom] r10806: LJSUP-9370: js error when click button "...

Committer: afedorov
LJSUP-9370: js error when click button "Select tags"

U   trunk/cgi-bin/LJ/Widget/IPPU/SelectTags.pm
Modified: trunk/cgi-bin/LJ/Widget/IPPU/SelectTags.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/IPPU/SelectTags.pm	2011-08-08 07:58:16 UTC (rev 10805)
+++ trunk/cgi-bin/LJ/Widget/IPPU/SelectTags.pm	2011-08-08 08:17:11 UTC (rev 10806)
@@ -40,6 +40,7 @@
         $body .= qq[<ul class="b-selecttags-col$col">];
         for(my $row = 1; $row <= $rows; $row++) {
             my $tag_name = shift(@tag_names);
+            $tag_name = LJ::ehtml($tag_name);
             $body .= qq[<li><input type="checkbox" id="selecttags-$col$row" onclick="IPPUSelectTags.change(this)" value="$tag_name" /><label for="selecttags-$col$row" title="$tag_name">$tag_name</label><i class="fade"></i></li>] if $tag_name;
         }
         $body .= qq[</ul>];

Tags: ljcom, pm, red_alf
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