summaryrefslogtreecommitdiff
path: root/Cydia.app
diff options
context:
space:
mode:
Diffstat (limited to 'Cydia.app')
-rw-r--r--Cydia.app/confirm.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/Cydia.app/confirm.js b/Cydia.app/confirm.js
index bd78c2e..ba2e2e5 100644
--- a/Cydia.app/confirm.js
+++ b/Cydia.app/confirm.js
@@ -43,9 +43,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>");
}
}