afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
afuna ([personal profile] afuna) wrote in [site community profile] changelog2009-05-19 08:03 am

[dw-free] English-strip /manage/tags

[commit: http://hg.dwscoalition.org/dw-free/rev/7c955007ef2d]

http://bugs.dwscoalition.org/show_bug.cgi?id=381

Don't English-strip internal values

Patch by [personal profile] wyntarvox.

Files modified:
  • htdocs/js/tags.js
--------------------------------------------------------------------------------
diff -r 39a4a2044669 -r 7c955007ef2d htdocs/js/tags.js
--- a/htdocs/js/tags.js	Tue May 19 07:56:00 2009 +0000
+++ b/htdocs/js/tags.js	Tue May 19 08:03:15 2009 +0000
@@ -120,13 +120,13 @@ function show_props(div, id)
     if (! tag) tag = [ ml.na_label, ml.na_label, '-', '-', '-', '-', '-' ];
 
     var secimg = '&nbsp; <img align="middle" src="/img/';
-    if (tag[1] == ml.public_label) {
+    if (tag[1] == "public") {
         secimg = secimg + "silk/identity/user.png";
     }
-    else if (tag[1] == ml.private_label) {
+    else if (tag[1] == "private") {
         secimg = secimg + "silk/entry/private.png";
     }
-    else if (tag[1] == ml.trusted_label) {
+    else if (tag[1] == "friends") {
         secimg = secimg + "silk/entry/locked.png";
     } 
     else {
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org