madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r21232: LJSUP-11208: Add ID to TagList at S2 sty...

Committer: sbelyaev
LJSUP-11208: Add ID to TagList at S2 styles
U   trunk/bin/upgrading/s2layers/core1.s2
U   trunk/cgi-bin/LJ/S2.pm
Modified: trunk/bin/upgrading/s2layers/core1.s2
===================================================================
--- trunk/bin/upgrading/s2layers/core1.s2	2012-02-22 08:46:24 UTC (rev 21231)
+++ trunk/bin/upgrading/s2layers/core1.s2	2012-02-22 08:53:34 UTC (rev 21232)
@@ -290,6 +290,7 @@
 "Represents a tag in its most basic form."
 {
     var readonly string name "Textual representation of this tag.";
+    var readonly string id "ID of this tag.";
     var readonly string url "URL to view entries with this tag.";
 }
 

Modified: trunk/cgi-bin/LJ/S2.pm
===================================================================
--- trunk/cgi-bin/LJ/S2.pm	2012-02-22 08:46:24 UTC (rev 21231)
+++ trunk/cgi-bin/LJ/S2.pm	2012-02-22 08:53:34 UTC (rev 21232)
@@ -1892,6 +1892,7 @@
     my $t = {
         _type => 'Tag',
         _id => $kwid,
+        id => $kwid,
         name => LJ::ehtml($kw),
         url => LJ::journal_base($u) . '/tag/' . LJ::eurl($kw),
     };

Tags: livejournal, madeon, pm, s2, sbelyaev
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