Refactor main.js: fix Create Torrent modal

This commit is contained in:
DC
2016-07-08 11:57:01 -07:00
parent 7050ee849b
commit 1668c4c614
3 changed files with 11 additions and 13 deletions

View File

@@ -174,6 +174,7 @@ const dispatchHandlers = {
'addTorrent': (torrentId) => controllers.torrentList.addTorrent(torrentId),
'showCreateTorrent': (paths) => controllers.torrentList.showCreateTorrent(paths),
'toggleCreateTorrentAdvanced': () => controllers.torrentList.toggleCreateTorrentAdvanced(),
'createTorrent': (options) => controllers.torrentList.createTorrent(options),
'toggleTorrent': (infoHash) => controllers.torrentList.toggleTorrent(infoHash),
'toggleTorrentFile': (infoHash, index) => controllers.torrentList.toggleTorrentFile(infoHash, index),