From 4b8a267c57c26e59e0a30fc77f4b0b20a109cb58 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Thu, 2 Apr 2009 22:55:47 +0000 Subject: [PATCH] fix the l.getSize error caused by the options tab --- deluge/ui/web/js/deluge-details.js | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/deluge/ui/web/js/deluge-details.js b/deluge/ui/web/js/deluge-details.js index c0136e650..74f4ab1ef 100644 --- a/deluge/ui/web/js/deluge-details.js +++ b/deluge/ui/web/js/deluge-details.js @@ -646,18 +646,22 @@ Deluge.Details.Panel = new Ext.TabPanel({ }, { layout: 'column', items: [{ - id: 'edit_trackers', - xtype: 'button', - text: _('Edit Trackers'), - cls: 'x-btn-text-icon', - iconCls: 'x-deluge-edit-trackers', - width: 100 + items: [{ + id: 'edit_trackers', + xtype: 'button', + text: _('Edit Trackers'), + cls: 'x-btn-text-icon', + iconCls: 'x-deluge-edit-trackers', + width: 100 + }] }, { - id: 'apply', - xtype: 'button', - text: _('Apply'), - style: 'margin-left: 10px', - width: 100 + items: [{ + id: 'apply', + xtype: 'button', + text: _('Apply'), + style: 'margin-left: 10px', + width: 100 + }] }] }] }]