From c7d5185e3439a317a21b419481c921396eaa4385 Mon Sep 17 00:00:00 2001 From: Nils Maier Date: Mon, 3 Mar 2014 21:32:31 +0100 Subject: [PATCH] Disable restart action for now --- js/ctrls/download.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/js/ctrls/download.js b/js/ctrls/download.js index b6d5d79..4ab07de 100644 --- a/js/ctrls/download.js +++ b/js/ctrls/download.js @@ -55,6 +55,11 @@ function( } scope.restart = function(d) { + // XXX broken in general: does not work with torrents + // XXX broken in general: does not carry over prefs + // XXX broken in particular: uris no longer stored in context object + throw new Error("broken"); + var uris = _.chain(d.files).map(function(f) { return f.uris }) .filter(function(uris) { return uris.length })