mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-10 08:04:15 +01:00
Add missing :dl date sort order.
This commit is contained in:
@@ -535,6 +535,7 @@
|
||||
<dl>
|
||||
<dt>active</dt> <dd>Whether download is active</dd>
|
||||
<dt>complete</dt> <dd>Percent complete</dd>
|
||||
<dt>date</dt> <dd>Date and time the download began</dd>
|
||||
<dt>filename</dt> <dd>Target filename</dd>
|
||||
<dt>size</dt> <dd>File size</dd>
|
||||
<dt>speed</dt> <dd>Download speed</dd>
|
||||
|
||||
@@ -124,6 +124,7 @@ var Download = Class("Download", {
|
||||
_compare: {
|
||||
active: function (a, b) a.alive - b.alive,
|
||||
complete: function (a, b) a.percentComplete - b.percentComplete,
|
||||
date: function (a, b) a.startTime - b.startTime,
|
||||
filename: function (a, b) String.localeCompare(a.targetFile.leafName, b.targetFile.leafName),
|
||||
size: function (a, b) a.size - b.size,
|
||||
speed: function (a, b) a.speed - b.speed,
|
||||
@@ -426,6 +427,7 @@ var Downloads = Module("downloads", {
|
||||
values: {
|
||||
active: "Whether download is active",
|
||||
complete: "Percent complete",
|
||||
date: "Date and time the download began",
|
||||
filename: "Target filename",
|
||||
size: "File size",
|
||||
speed: "Download speed",
|
||||
|
||||
Reference in New Issue
Block a user