mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-04 07:33:31 +00:00
make the add torrent window able to add from url again
This commit is contained in:
parent
5b06ecd52e
commit
0037922d9e
@ -66,15 +66,16 @@ Deluge.Widgets.AddTorrent.Url = new Class({
|
||||
},
|
||||
|
||||
onOkClick: function(e) {
|
||||
e.stop();
|
||||
var url = this.urlInput.get('value');
|
||||
Deluge.Client.add_torrent_url(url, {});
|
||||
e.stop();
|
||||
this.hide();
|
||||
},
|
||||
|
||||
onCancelClick: function(e) {
|
||||
e.stop();
|
||||
this.urlInput.set('value', '');
|
||||
this.hide();
|
||||
e.stop();
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -205,6 +205,7 @@ ul.moouiMenu li.moouiMenuSep:hover {
|
||||
}
|
||||
|
||||
.moouiWindowTitlebar {
|
||||
cursor: pointer;
|
||||
height: 30px;
|
||||
background: #1c2431 url(/static/images/simple_line.jpg) repeat-x 0px 25px;
|
||||
}
|
||||
@ -215,7 +216,6 @@ ul.moouiMenu li.moouiMenuSep:hover {
|
||||
|
||||
.moouiWindowTitle {
|
||||
margin: 5px;
|
||||
|
||||
}
|
||||
|
||||
/* forms */
|
||||
|
Loading…
x
Reference in New Issue
Block a user