summaryrefslogtreecommitdiff
path: root/Cydia.app/package.js
diff options
context:
space:
mode:
Diffstat (limited to 'Cydia.app/package.js')
-rw-r--r--Cydia.app/package.js18
1 files changed, 16 insertions, 2 deletions
diff --git a/Cydia.app/package.js b/Cydia.app/package.js
index 0e2a941..104bd8c 100644
--- a/Cydia.app/package.js
+++ b/Cydia.app/package.js
@@ -75,6 +75,11 @@ var special_ = function () {
success: function (value) {
value = eval(value);
+ if (typeof value.notice == "undefined")
+ $(".notice").addClass("deleted");
+ else
+ $("#notice-src").src(value.notice);
+
if (typeof value.rating == "undefined")
$(".rating").addClass("deleted");
else {
@@ -183,8 +188,6 @@ var special_ = function () {
$("#author-href").href(support);
}
- //$("#notice-src").src("http://saurik.cachefly.net/notice/" + idc + ".html");
-
/*var store = commercial;
if (!store)
$(".activation").addClass("deleted");
@@ -296,6 +299,17 @@ var special = function () {
$("#rating-none").css("display", "none");
$("#rating-done").css("display", "none");
+ var notice = $("#notice-src");
+
+ notice[0].outerHTML = '<iframe' +
+ ' class="notice"' +
+ ' id="notice-src"' +
+ ' frameborder="0"' +
+ ' width="320"' +
+ ' height="0"' +
+ ' target="_top"' +
+ '></iframe>';
+
var depiction = $("#depiction-src");
depiction[0].outerHTML = '<iframe' +