Disable restart action for now

This commit is contained in:
Nils Maier 2014-03-03 21:32:31 +01:00
parent 23773bac0d
commit c7d5185e34

View File

@ -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 })