mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +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) {
|
onLoad: function(e) {
|
||||||
|
this.iframe.set('opacity', 1);
|
||||||
var body = $(this.iframe.contentDocument.body);
|
var body = $(this.iframe.contentDocument.body);
|
||||||
this.cancelButton = body.getElement('button.cancel');
|
this.cancelButton = body.getElement('button.cancel');
|
||||||
this.cancelButton.addEvent('click', this.bound.onCancel);
|
this.cancelButton.addEvent('click', this.bound.onCancel);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue