UNPKG

profoundjs

Version:

Profound.js Framework and Server

43 lines (35 loc) 1.08 kB
/* This file is not updated by the BUILD program. To deploy changes, manually copy to /puidev/dist/profoundui/proddata/js */ // eslint-disable-next-line no-unused-vars function init() { if (LOADMSG != "") { // For IE8 running in compatability view or IE7 mode, // the main background image disappears when alert is run // directly onload. setTimeout(function() { alert(LOADMSG); if (REDIRECT) { location.href = "/profoundui/welcome"; } else { document.keyForm.key.focus(); } }, 1); } } // eslint-disable-next-line no-unused-vars function requestKey() { var url = "https://www.profoundlogic.com/activation?"; url += "prod=profoundui" + "&sysname=" + encodeURIComponent(SYSNAME) + "&serial=" + encodeURIComponent(SERIAL) + "&pgroup=" + encodeURIComponent(PGROUP) + "&osrelease=" + encodeURIComponent(OSRELEASE) + "&model=" + encodeURIComponent(MODEL); if (KEY != "") { url += "&key=" + encodeURIComponent(KEY); } window.open(url, "_blank"); }