mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-08 09:28:41 +00:00
make the add torrent window able to add from url again
This commit is contained in:
parent
5b06ecd52e
commit
0037922d9e
2 changed files with 4 additions and 3 deletions
|
@ -66,15 +66,16 @@ Deluge.Widgets.AddTorrent.Url = new Class({
|
||||||
},
|
},
|
||||||
|
|
||||||
onOkClick: function(e) {
|
onOkClick: function(e) {
|
||||||
|
e.stop();
|
||||||
var url = this.urlInput.get('value');
|
var url = this.urlInput.get('value');
|
||||||
Deluge.Client.add_torrent_url(url, {});
|
Deluge.Client.add_torrent_url(url, {});
|
||||||
e.stop();
|
this.hide();
|
||||||
},
|
},
|
||||||
|
|
||||||
onCancelClick: function(e) {
|
onCancelClick: function(e) {
|
||||||
|
e.stop();
|
||||||
this.urlInput.set('value', '');
|
this.urlInput.set('value', '');
|
||||||
this.hide();
|
this.hide();
|
||||||
e.stop();
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -205,6 +205,7 @@ ul.moouiMenu li.moouiMenuSep:hover {
|
||||||
}
|
}
|
||||||
|
|
||||||
.moouiWindowTitlebar {
|
.moouiWindowTitlebar {
|
||||||
|
cursor: pointer;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
background: #1c2431 url(/static/images/simple_line.jpg) repeat-x 0px 25px;
|
background: #1c2431 url(/static/images/simple_line.jpg) repeat-x 0px 25px;
|
||||||
}
|
}
|
||||||
|
@ -215,7 +216,6 @@ ul.moouiMenu li.moouiMenuSep:hover {
|
||||||
|
|
||||||
.moouiWindowTitle {
|
.moouiWindowTitle {
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* forms */
|
/* forms */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue