]>
git.saurik.com Git - cydia.git/blob - Cydia.app/confirm.js
9210295d033072a0adc60ffd706dac7b6bc604e5
5 var downloading
= sizes
[0];
6 if (downloading
== "0.0 B")
7 $(".downloading").remove();
9 $("#downloading").html($.xml(downloading
));
11 var resuming
= sizes
[1];
12 if (resuming
== "0.0 B")
13 $(".resuming").remove();
15 $("#resuming").html($.xml(resuming
));
20 if (size
.charAt(0) != '-')
24 size
= size
.substr(1);
27 $("#disk-key").html(negative
? "Disk Freeing" : "Disk Using");
28 $("#disk-value").html($.xml(size
));
29 } else for (var i
= 0; i
!= issues
.length
; ++i
) {
30 $("._issues").remove();
32 var issue
= issues
[i
];
35 "<label style=\"color: #704d4d\">" + issue
[0] + "</label>" +
36 "<fieldset style=\"background-color: #dddddd\" class=\"clearfix\" id=\"i" + i
+ "\"></fieldset>"
39 for (var j
= 1; j
!= issue
.length
; ++j
) {
42 if (type
== "PreDepends")
44 $("#i" + i
).append("<div>" +
45 "<label>" + type
+ "</label>" +
46 "<div>" + entry
[1] + " " + entry
[3] + "</div>" +
59 for (var i
= 0; i
!= 5; ++i
) {
60 var list
= changes
[i
];
61 var length
= list
.length
;
64 $("#modifications").append("<div class=\"clearfix\">" +
65 "<label>" + keys
[i
] + "</label>" +
66 "<div id=\"c" + i
+ "\"></div>" +
70 for (var j
= 0; j
!= length
; ++j
) {
73 value
+= $.xml(list
[j
]);
76 $("#c" + i
).html(value
);