mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 12:34:43 +00:00
merge webui fixes
This commit is contained in:
parent
2af3869143
commit
b10416b8f8
@ -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…
x
Reference in New Issue
Block a user