can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[ljcom] r11645: LJSUP-11565: Ability to edit tags during...

Committer: dpetrov
LJSUP-11565: Ability to edit tags during the moderation
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	2012-03-27 12:26:01 UTC (rev 11644)
+++ trunk/cgi-bin/LJ/Widget/IPPU/SelectTags.pm	2012-03-27 13:10:34 UTC (rev 11645)
@@ -31,7 +31,7 @@
     my $body;
     #Hint about checkboxes <li> <input type="checkbox" id="selecttags-11 — row number" onchange="IPPUSelectTags.change(this)" value="Tag 11 — tag value" /><label for="selecttags-11 — row number" title="Tag 11 — tag value</label><i class="fade"></i></li>
     $body .= '<div class="b-selecttags">';
-    $body .= '<div class="b-selecttags-header"><label for="selecttags-all">' . BML::ml('widget.selecttags.tags') . '</label><input type="text" id="selecttags-all" value="" /> <button type="button" id="selecttags-clear" onclick="IPPUSelectTags.reset_click()">' . BML::ml('widget.selecttags.clear') . '</button></div>';
+    $body .= '<div class="b-selecttags-header"><label for="selecttags-all">' . BML::ml('widget.selecttags.tags') . '</label><input type="text" id="selecttags-all" value="" /> <button type="button" id="selecttags-clear">' . BML::ml('widget.selecttags.clear') . '</button></div>';
     $body .= '<div class="b-selecttags-tags">';
 
     my $rows = int((scalar @tag_names) / 3) + 1;
@@ -41,13 +41,13 @@
         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[<li><input type="checkbox" id="selecttags-$col$row" 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>];
     }
 
     $body .= '</div>';
-    $body .= '<div class="b-selecttags-footer"><button type="button" id="selecttags-select" onclick="IPPUSelectTags.save_click()">' . BML::ml('widget.selecttags.select') . '</button></div>';
+    $body .= '<div class="b-selecttags-footer"><button type="button" id="selecttags-select">' . BML::ml('widget.selecttags.select') . '</button></div>';
     $body .= '</div>';
 
     return $body;

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