Disable restart action for now
This commit is contained in:
parent
23773bac0d
commit
c7d5185e34
|
@ -55,6 +55,11 @@ function(
|
||||||
}
|
}
|
||||||
|
|
||||||
scope.restart = function(d) {
|
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 =
|
var uris =
|
||||||
_.chain(d.files).map(function(f) { return f.uris })
|
_.chain(d.files).map(function(f) { return f.uris })
|
||||||
.filter(function(uris) { return uris.length })
|
.filter(function(uris) { return uris.length })
|
||||||
|
|
Loading…
Reference in New Issue
Block a user