mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-17 13:56:47 +00:00
render the checkbox correctly
This commit is contained in:
parent
5dc2809732
commit
96e8de6db5
@ -57,9 +57,14 @@ Deluge.Add = {
|
||||
walk(item, child);
|
||||
parent.appendChild(child);
|
||||
} else {
|
||||
if (item[1]) {
|
||||
var checkbox = '<input type="checkbox" checked="checked" />';
|
||||
} else {
|
||||
var checkbox = '<input type="checkbox" />';
|
||||
}
|
||||
var test = item[1];
|
||||
parent.appendChild(new Ext.tree.TreeNode({
|
||||
enabled: '<input type="checkbox" />',
|
||||
enabled: checkbox,
|
||||
filename: file,
|
||||
size: fsize(item[0]),
|
||||
leaf: true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user