mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 03:54:50 +00:00
merge webui fixes
This commit is contained in:
parent
2af3869143
commit
b10416b8f8
2 changed files with 9 additions and 6 deletions
|
@ -194,17 +194,17 @@ Deluge.Widgets.AddTorrent.Url = new Class({
|
|||
|
||||
this.form = new Element('form');
|
||||
this.urlInput = new Element('input', {
|
||||
type: 'text',
|
||||
id: 'urlInput',
|
||||
name: 'urlInput'
|
||||
'type': 'text',
|
||||
'id': 'urlInput',
|
||||
'name': 'urlInput'
|
||||
});
|
||||
this.okButton = new Element('button');
|
||||
this.okButton.set('text', _('Ok'));
|
||||
this.cancelButton = new Element('button');
|
||||
this.cancelButton.set('text', _('Cancel'));
|
||||
this.form.grab(new Element('label', {
|
||||
for: 'urlInput',
|
||||
text: _('Url'),
|
||||
'for': 'urlInput',
|
||||
'text': _('Url'),
|
||||
}).addClass('fluid'));
|
||||
this.form.grab(this.urlInput).grab(new Element('br'));
|
||||
this.form.grab(this.okButton).grab(this.cancelButton);
|
||||
|
|
|
@ -383,7 +383,8 @@ Deluge.UI = {
|
|||
});
|
||||
break;
|
||||
case 'create':
|
||||
this.createWindow.show();
|
||||
alert('Sorry, this hasn\'t been implemented yet.');
|
||||
//this.createWindow.show();
|
||||
break;
|
||||
case 'add':
|
||||
this.addWindow.show();
|
||||
|
@ -401,6 +402,8 @@ Deluge.UI = {
|
|||
case 'preferences':
|
||||
this.prefsWindow.show();
|
||||
break;
|
||||
case 'connections':
|
||||
alert('Sorry, this hasn\'t been implemented yet.');
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue