mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 12:34:43 +00:00
fix reloading the add from file iframe
This commit is contained in:
parent
374335cae8
commit
bc3a7bd057
@ -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…
x
Reference in New Issue
Block a user