remove pointless privatising
This commit is contained in:
parent
ee5cfc8cff
commit
9df1ec2193
@ -21,8 +21,7 @@ Copyright:
|
||||
Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
(function() {
|
||||
Ext.deluge.details.DetailsTab = Ext.extend(Ext.Panel, {
|
||||
Ext.deluge.details.DetailsTab = Ext.extend(Ext.Panel, {
|
||||
title: _('Details'),
|
||||
cls: 'x-deluge-status',
|
||||
|
||||
@ -74,6 +73,5 @@ Copyright:
|
||||
this.fields[field].innerHTML = data[field];
|
||||
}
|
||||
}
|
||||
});
|
||||
Deluge.Details.add(new Ext.deluge.details.DetailsTab());
|
||||
})();
|
||||
});
|
||||
Deluge.Details.add(new Ext.deluge.details.DetailsTab());
|
||||
@ -21,8 +21,7 @@ Copyright:
|
||||
Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
(function() {
|
||||
Ext.deluge.details.StatusTab = Ext.extend(Ext.Panel, {
|
||||
Ext.deluge.details.StatusTab = Ext.extend(Ext.Panel, {
|
||||
title: _('Status'),
|
||||
|
||||
onRender: function(ct, position) {
|
||||
@ -104,6 +103,5 @@ Copyright:
|
||||
var text = status.state + ' ' + status.progress.toFixed(2) + '%';
|
||||
this.progressBar.updateProgress(status.progress, text);
|
||||
}
|
||||
});
|
||||
Deluge.Details.add(new Ext.deluge.details.StatusTab());
|
||||
})();
|
||||
});
|
||||
Deluge.Details.add(new Ext.deluge.details.StatusTab());
|
||||
Loading…
x
Reference in New Issue
Block a user