diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2009-09-07 12:38:10 +0000 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2010-09-30 07:13:58 +0000 |
commit | 670a04941260717d9759a85b8d20585bc976e56e (patch) | |
tree | 8424f2a6b90fbb0dd9fdf9bfe4c5d00a66c42ae3 /Cydia.app/package.js | |
parent | 6c96d5a3b5540f2470be62bac68ea1e791eaf1fa (diff) |
Major modifications to ready for stability.
Diffstat (limited to 'Cydia.app/package.js')
-rw-r--r-- | Cydia.app/package.js | 18 |
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' + |