mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-03 23:23:27 +00:00
remove some debug alerts i left in
This commit is contained in:
parent
141d254f35
commit
b2ff696348
@ -231,20 +231,12 @@ Deluge.Details.Files = {
|
||||
}
|
||||
this.panel.getRootNode().cascade(walk);
|
||||
|
||||
alert(JSON.encode(indexes));
|
||||
var nodes = this.panel.getSelectionModel().getSelectedNodes();
|
||||
$each(nodes, function(node) {
|
||||
if (!$defined(node.attributes.fileIndex)) return;
|
||||
indexes[node.attributes.fileIndex] = baseItem.filePriority;
|
||||
});
|
||||
|
||||
alert(JSON.encode(indexes));
|
||||
|
||||
/*var keys = indexes.getKeys();
|
||||
alert(keys);
|
||||
keys.sort(function(a, b) { return a - b; });
|
||||
alert(keys);*/
|
||||
|
||||
priorities = new Array(indexes.getLength());
|
||||
indexes.each(function(priority, index) {
|
||||
priorities[index] = priority;
|
||||
|
Loading…
x
Reference in New Issue
Block a user