summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Churchill <damoc@gmail.com>2009-01-07 00:31:08 +0000
committerDamien Churchill <damoc@gmail.com>2009-01-07 00:31:08 +0000
commit0208e59ad6a3b6830b1045bafbc740c5e6a9885c (patch)
tree0b2f73be6cdf46240cf79ec83f48b4e5a7c12f8d
parent1bf2fb47b71a02914ba5dfc853d03ea75e6db210 (diff)
downloaddeluge-0208e59ad6a3b6830b1045bafbc740c5e6a9885c.tar.gz
deluge-0208e59ad6a3b6830b1045bafbc740c5e6a9885c.tar.bz2
deluge-0208e59ad6a3b6830b1045bafbc740c5e6a9885c.zip
fix bug when used from ipod
-rw-r--r--deluge/ui/webui/templates/ajax/static/js/deluge-add.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/deluge/ui/webui/templates/ajax/static/js/deluge-add.js b/deluge/ui/webui/templates/ajax/static/js/deluge-add.js
index f1327c6a0..c0d61adb3 100644
--- a/deluge/ui/webui/templates/ajax/static/js/deluge-add.js
+++ b/deluge/ui/webui/templates/ajax/static/js/deluge-add.js
@@ -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);