Skip to content
Discussion options

You must be logged in to vote

in index.html I would change this

<a id="mnu_remove" class="nav-link flex-grow-1" href="#" onclick="theWebUI.removeTorrent(); return(false);" onfocus="this.blur()" uilangtitle="mnu_remove">
								<div id="remove" class="nav-icon"></div>
							</a>

to this

<a id="mnu_remove" class="nav-link flex-grow-1" href="#" onclick="(theWebUI.removeWithData || theWebUI.removeTorrent).call(theWebUI); return false;" onfocus="this.blur()" uilangtitle="mnu_remove">
								<div id="remove" class="nav-icon"></div>
							</a>

rows 96-98.
Leave the other funktsion in place incase the erasedata plugin is disabled or missing or what ever. I would not actually do this but this is how you could do this.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by FaceCrap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants