mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 03:54:50 +00:00
fix reloading the add from file iframe
This commit is contained in:
parent
374335cae8
commit
bc3a7bd057
1 changed files with 1 additions and 0 deletions
|
@ -128,6 +128,7 @@ Deluge.Widgets.AddTorrent.File = new Class({
|
|||
},
|
||||
|
||||
onLoad: function(e) {
|
||||
this.iframe.set('opacity', 1);
|
||||
var body = $(this.iframe.contentDocument.body);
|
||||
this.cancelButton = body.getElement('button.cancel');
|
||||
this.cancelButton.addEvent('click', this.bound.onCancel);
|
||||
|
|
Loading…
Add table
Reference in a new issue