]> git.saurik.com Git - cydia.git/blobdiff - Cydia.app/confirm.js
Remove cycc requirement.
[cydia.git] / Cydia.app / confirm.js
index bd78c2e5da8022c714853809218b3ed5c1927a42..efffdc4abe8a993be95e0060375eec7726ece24b 100644 (file)
@@ -7,28 +7,17 @@ $(function () {
             $(".downloading").remove();
         else
         $("#downloading").html($.xml(downloading));
-    
+
         var resuming = sizes[1];
         if (resuming == "0.0 B")
             $(".resuming").remove();
         else
         $("#resuming").html($.xml(resuming));
-
-        var size = sizes[2];
-        var negative;
-
-        if (size.charAt(0) != '-')
-            negative = false;
-        else {
-            negative = true;
-            size = size.substr(1);
-        }
-
-        $("#disk-key").html(cydia.localize(negative ? "DISK_FREEING" : "DISK_USING"));
-        $("#disk-value").html($.xml(size));
     } else for (var i = 0; i != issues.length; ++i) {
         document.title = cydia.localize("CANNOT_COMPLY");
 
+        $(".queue").remove();
+
         $("._issues").remove();
 
         var issue = issues[i];
@@ -43,9 +32,12 @@ $(function () {
             var type = entry[0];
             if (type == "PreDepends")
                 type = "Depends";
+            var version = entry[1];
+            if (entry.length >= 4)
+                version += " " + entry[3];
             $("#i" + i).append("<div class=\"clearfix\"><div>" +
                 "<label>" + $.xml(type) + "</label>" +
-                "<label>" + $.xml(entry[1] + " " + entry[3]) + "</label>" +
+                "<label>" + $.xml(version) + "</label>" +
             "</div></div>");
         }
     }