From 0208e59ad6a3b6830b1045bafbc740c5e6a9885c Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Wed, 7 Jan 2009 00:31:08 +0000 Subject: [PATCH] fix bug when used from ipod --- deluge/ui/webui/templates/ajax/static/js/deluge-add.js | 10 +++++----- 1 file 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);