ensure that we are definitely using the filename
This commit is contained in:
parent
a23648c657
commit
4031b9f94b
@ -85,6 +85,7 @@ Ext.deluge.add.FileWindow = Ext.extend(Ext.deluge.add.Window, {
|
||||
scope: this
|
||||
});
|
||||
var name = this.form.getForm().findField('torrentFile').value;
|
||||
name = name.split('\\').slice(-1)[0];
|
||||
this.fireEvent('beforeadd', this.torrentId, name);
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user