diff options
Diffstat (limited to 'deluge/ui/web/js/deluge-all/add/UrlWindow.js')
-rw-r--r-- | deluge/ui/web/js/deluge-all/add/UrlWindow.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/deluge/ui/web/js/deluge-all/add/UrlWindow.js b/deluge/ui/web/js/deluge-all/add/UrlWindow.js index 2fa8199d6..94872a73e 100644 --- a/deluge/ui/web/js/deluge-all/add/UrlWindow.js +++ b/deluge/ui/web/js/deluge-all/add/UrlWindow.js @@ -1,7 +1,7 @@ /*! * Deluge.add.UrlWindow.js * - * Copyright (c) Damien Churchill 2009-2010 <damoxc@gmail.com> + * Copyright (c) Damien Churchill 2009-2011 <damoxc@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,8 +30,8 @@ * statement from all source files in the program, then also delete it here. */ -Ext.namespace('Deluge.add'); -Deluge.add.UrlWindow = Ext.extend(Deluge.add.Window, { +Ext.define('Deluge.add.UrlWindow', { + extend: 'Deluge.add.Window', title: _('Add from Url'), modal: true, @@ -46,7 +46,7 @@ Deluge.add.UrlWindow = Ext.extend(Deluge.add.Window, { iconCls: 'x-deluge-add-url-window-icon', initComponent: function() { - Deluge.add.UrlWindow.superclass.initComponent.call(this); + this.callParent(arguments); this.addButton(_('Add'), this.onAddClick, this); var form = this.add({ |