mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-05 16:08:40 +00:00
remove the function wrap from the connection manager
This commit is contained in:
parent
c0fd70a856
commit
759ae6356d
1 changed files with 316 additions and 320 deletions
|
@ -30,12 +30,7 @@
|
||||||
* statement from all source files in the program, then also delete it here.
|
* statement from all source files in the program, then also delete it here.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
(function() {
|
Deluge.ConnectionManager = Ext.extend(Ext.Window, {
|
||||||
var hostRenderer = function(value, p, r) {
|
|
||||||
return value + ':' + r.data['port']
|
|
||||||
}
|
|
||||||
|
|
||||||
Deluge.ConnectionManager = Ext.extend(Ext.Window, {
|
|
||||||
|
|
||||||
layout: 'fit',
|
layout: 'fit',
|
||||||
width: 300,
|
width: 300,
|
||||||
|
@ -215,7 +210,6 @@
|
||||||
|
|
||||||
// private
|
// private
|
||||||
onClose: function(e) {
|
onClose: function(e) {
|
||||||
if (this.running) window.clearInterval(this.running);
|
|
||||||
this.hide();
|
this.hide();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -302,6 +296,9 @@
|
||||||
if (!this.hidden && this.rendered) {
|
if (!this.hidden && this.rendered) {
|
||||||
this.hide();
|
this.hide();
|
||||||
}
|
}
|
||||||
|
if (this.running) {
|
||||||
|
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
// private
|
// private
|
||||||
|
@ -380,5 +377,4 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
})();
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue