function AddTagToProject(projectid,tag){ $.get("/umbraco/api/Community/AddTag/?projectId=" + projectid + "&group=project&tag=" + tag); } function RemoveTagFromProject(projectid,tag){ $.get("/umbraco/api/Community/RemoveTag/?projectId=" + projectid + "&group=project&tag=" + tag); } function VerifyFile(fileId) { $.post("/umbraco/api/Wiki/VerifyFile/?fileId=" + fileId); } jQuery(document).ready(function () { $("#fileArchiveLink").click(function (e) { $("#fileArchive").toggle('fast'); }); $(".verifyWikiFile").click(function (e) { VerifyFile(jQuery(this).attr("rel")); jQuery(this).hide("slow"); }); $("a.viewFullCompatibilityDetails").click(function () { if ($(this).text() == "View Details") { $("#compatLoading").show(); var key = $(this).attr("rel").split(","); $.get("/html/versioncompatibilityreport?fileId=" + key[0] + "&packageId=" + key[1], function (data) { $("#compatLoading").hide(); $("#compatAjaxDetails").html(data); $(".compatSummary").hide(); $(".compatDetails").show('slow'); }); $(this).text("Hide Details"); } else { $(".compatDetails").hide(); $(".compatSummary").show('slow'); $(this).text("View Details"); } return false; }); $("a.viewFullCompatibilityDetails").trigger("click"); $("a.compatibilityReport").click(function () { var key = $(this).attr("rel").split(","); $.get("/html/versioncompatibility?fileId=" + key[0] + "&packageId=" + key[1], function (data) { jQuery.modal("
Have you tried this package? Help others by letting them know if it's compatible with their version of Umbraco!
Thankyou for taking the time to provide your feedback
"); if ($(".compatDetails:visible")) { $(".compatDetails").hide(); $("#compatLoading").show(); $.get("/html/versioncompatibilityreport?fileId=" + key[0] + "&packageId=" + key[1], function (data) { $("#compatLoading").hide(); $("#compatAjaxDetails").html(data); $(".compatDetails").show('slow'); }); } }); return false; }); }); return false; }); });