diff --git a/modules/c1pjs/lib/computer.js b/modules/c1pjs/lib/computer.js index a6cb8d1ce..c5f069504 100644 --- a/modules/c1pjs/lib/computer.js +++ b/modules/c1pjs/lib/computer.js @@ -265,6 +265,11 @@ C1PComputer.power = function(computer) */ C1PComputer.init = function() { + /* + * In non-COMPILED builds, embedMachine() may have set XMLVERSION. + */ + if (!COMPILED && XMLVERSION) C1PComputer.APPVERSION = XMLVERSION; + var aeComputers = Component.getElementsByClass(document, C1PJSCLASS, "computer"); for (var iComputer=0; iComputer < aeComputers.length; iComputer++) {