]>
git.saurik.com Git - cydia.git/blob - Cydia.app/confirm.js
2 var downloading
= sizes
[0];
3 if (downloading
== "0.0 B")
4 $(".downloading").remove();
6 $("#downloading").html($.xml(downloading
));
8 var resuming
= sizes
[1];
9 if (resuming
== "0.0 B")
10 $(".resuming").remove();
12 $("#resuming").html($.xml(resuming
));
17 if (size
.charAt(0) != '-')
21 size
= size
.substr(1);
24 $("#disk-key").html(negative
? "Disk Freeing" : "Disk Using");
25 $("#disk-value").html($.xml(size
));
35 for (var i
= 0; i
!= 5; ++i
) {
36 var list
= changes
[i
];
37 var length
= list
.length
;
40 $("#modifications").append("<div class=\"clearfix\">" +
41 "<label>" + keys
[i
] + "</label>" +
42 "<div id=\"i" + i
+ "\"></div>" +
46 for (var j
= 0; j
!= length
; ++j
) {
49 value
+= $.xml(list
[j
]);
52 $("#i" + i
).html(value
);