diff --git a/src/webui/filters.html b/src/webui/filters.html index 7f4e1b682..1461d989d 100644 --- a/src/webui/filters.html +++ b/src/webui/filters.html @@ -2,6 +2,7 @@
  • _(All)
  • _(Downloading)
  • _(Completed)
  • +
  • _(Paused)
  • _(Active)
  • _(Inactive)
  • @@ -13,4 +14,4 @@ last_filter = 'all'; } $(last_filter+'_filter').addClass('selectedFilter'); - \ No newline at end of file + diff --git a/src/webui/scripts/client.js b/src/webui/scripts/client.js index be0fe48f6..8d99793e5 100644 --- a/src/webui/scripts/client.js +++ b/src/webui/scripts/client.js @@ -340,6 +340,7 @@ window.addEvent('load', function(){ $("all_filter").removeClass("selectedFilter"); $("downloading_filter").removeClass("selectedFilter"); $("completed_filter").removeClass("selectedFilter"); + $("paused_filter").removeClass("selectedFilter"); $("active_filter").removeClass("selectedFilter"); $("inactive_filter").removeClass("selectedFilter"); $(f+"_filter").addClass("selectedFilter"); diff --git a/src/webui/scripts/dynamicTable.js b/src/webui/scripts/dynamicTable.js index 7920b4e07..265598c73 100644 --- a/src/webui/scripts/dynamicTable.js +++ b/src/webui/scripts/dynamicTable.js @@ -203,6 +203,13 @@ var dynamicTable = new Class ({ tr.addClass("invisible"); } break; + case 'paused': + if(status == "pausedDL" || status == "pausedUP") { + tr.removeClass("invisible"); + } else { + tr.addClass("invisible"); + } + break; case 'active': if(status == "downloading" || status == "uploading") { tr.removeClass("invisible");