diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2010-10-28 02:25:18 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2010-11-01 22:56:25 -0700 |
commit | e17a8c4f2ae16f8daab460936a9b130d024173dd (patch) | |
tree | 1544816ffb283219f2de45b0a8e99d6f7ebe24f6 /Cydia.app/confirm.js | |
parent | 6067f1b8116d8fb2502359f430b9d958e10807b9 (diff) |
Rename Cydia.* to MobileCydia.* and add Cydia.frappliance.
Diffstat (limited to 'Cydia.app/confirm.js')
-rw-r--r-- | Cydia.app/confirm.js | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/Cydia.app/confirm.js b/Cydia.app/confirm.js deleted file mode 100644 index efffdc4..0000000 --- a/Cydia.app/confirm.js +++ /dev/null @@ -1,73 +0,0 @@ -$(function () { - if (issues == null) { - $(".issues").remove(); - - var downloading = sizes[0]; - if (downloading == "0.0 B") - $(".downloading").remove(); - else - $("#downloading").html($.xml(downloading)); - - var resuming = sizes[1]; - if (resuming == "0.0 B") - $(".resuming").remove(); - else - $("#resuming").html($.xml(resuming)); - } else for (var i = 0; i != issues.length; ++i) { - document.title = cydia.localize("CANNOT_COMPLY"); - - $(".queue").remove(); - - $("._issues").remove(); - - var issue = issues[i]; - - $("#issues").append( - "<label style=\"color: #704d4d\">" + $.xml(issue[0]) + "</label>" + - "<fieldset style=\"background-color: #dddddd\" class=\"clearfix\" id=\"i" + i + "\"></fieldset>" - ); - - for (var j = 1; j != issue.length; ++j) { - var entry = issue[j]; - 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(version) + "</label>" + - "</div></div>"); - } - } - - var keys = [ - "INSTALL", - "REINSTALL", - "UPGRADE", - "DOWNGRADE", - "REMOVE" - ]; - - for (var i = 0; i != 5; ++i) { - var list = changes[i]; - var length = list.length; - - if (length != 0) { - $("#modifications").append("<div class=\"clearfix\"><div>" + - "<label>" + cydia.localize($.xml(keys[i])) + "</label>" + - "<label id=\"c" + i + "\"></label>" + - "</div></div>"); - - var value = ""; - for (var j = 0; j != length; ++j) { - if (j != 0) - value += "<br/>"; - value += $.xml(list[j]); - } - - $("#c" + i).html(value); - } - } -}); |