diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-12-07 15:19:49 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-12-07 15:19:49 +0100 |
commit | bd015ab580645f2cb9af70be64973a425e5f1552 (patch) | |
tree | be97a3174b45ac57e5ee99abb9a6b065754b8db3 /pyload/web/app/scripts/views/linkgrabber/collectorView.js | |
parent | package edit dialog (diff) | |
download | pyload-bd015ab580645f2cb9af70be64973a425e5f1552.tar.xz |
updated some deps, button to add links to existing packages
Diffstat (limited to 'pyload/web/app/scripts/views/linkgrabber/collectorView.js')
-rw-r--r-- | pyload/web/app/scripts/views/linkgrabber/collectorView.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pyload/web/app/scripts/views/linkgrabber/collectorView.js b/pyload/web/app/scripts/views/linkgrabber/collectorView.js index 08b426aff..ba1bbbf69 100644 --- a/pyload/web/app/scripts/views/linkgrabber/collectorView.js +++ b/pyload/web/app/scripts/views/linkgrabber/collectorView.js @@ -21,6 +21,10 @@ define(['jquery', 'underscore', 'backbone', 'app', './packageView'], self.collection.add(pack); } + // set destination pid + if (self.model) + pack.set('pid', self.model.get('pid')); + // Remove links from other packages and delete empty ones self.collection.each(function(pack2) { console.log(pack2, links); |