Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Another improvement to issue 5834

  • Loading branch information...
commit 11a249fbabc09e4a2110a2310f4bb2e36170fe90 1 parent 3965dd0
@SebastianZ SebastianZ authored
View
19 extension/content/firebug/cookies/cookieReps.js
@@ -935,32 +935,21 @@ CookieReps.SizeInfoTip = domplate(Firebug.Rep,
TABLE({"class": "sizeInfoTip", "id": "cookiesSizeInfoTip", role:"presentation"},
TBODY(
FOR("size", "$sizeInfo",
- TAG("$size|getRowTag", {size: "$size"})
+ TAG("$size|sizeTag", {size: "$size"})
)
)
),
sizeTag:
- TR({"class": "sizeInfoRow", $collapsed: "$size|hideRow"},
+ TR({"class": "sizeInfoRow"},
TD({"class": "sizeInfoLabelCol"}, "$size.label"),
TD({"class": "sizeInfoSizeCol"}, "$size|formatSize"),
TD({"class": "sizeInfoDetailCol"}, "$size|formatNumber")
),
- getRowTag: function(size)
- {
- return (size.label == "-") ? this.separatorTag : this.sizeTag;
- },
-
- hideRow: function(size)
- {
- return size.size < 0;
- },
-
formatSize: function(size)
{
- size = Str.formatSize(size.size);
- return size;
+ return Str.formatSize(size.size);
},
formatNumber: function(size)
@@ -977,7 +966,7 @@ CookieReps.SizeInfoTip = domplate(Firebug.Rep,
sizeInfo.push({label: Locale.$STR("cookie.sizeinfo.Size"), size: size});
if (size != rawSize)
- sizeInfo.push({label: Locale.$STR("cookie.sizeinfo.RawSize"), size: rawSize});
+ sizeInfo.push({label: Locale.$STR("cookie.sizeinfo.Raw_Size"), size: rawSize});
this.tag.replace({sizeInfo: sizeInfo}, parentNode);
},
View
2  extension/locale/en-US/cookies.properties
@@ -318,4 +318,4 @@ cookies.console.Filter_By_Cookies=Filter By Cookies
firebug.shortcut.removeAllCookies.label=Remove All Cookies
cookie.sizeinfo.Size=Size
-cookie.sizeinfo.RawSize=Raw Size
+cookie.sizeinfo.Raw_Size=Raw Size
Please sign in to comment.
Something went wrong with that request. Please try again.