Use XMLVERSION if set
This commit is contained in:
parent
252fc520a4
commit
c8d3a102e2
1 changed files with 5 additions and 0 deletions
|
|
@ -265,6 +265,11 @@ C1PComputer.power = function(computer)
|
||||||
*/
|
*/
|
||||||
C1PComputer.init = function()
|
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");
|
var aeComputers = Component.getElementsByClass(document, C1PJSCLASS, "computer");
|
||||||
|
|
||||||
for (var iComputer=0; iComputer < aeComputers.length; iComputer++) {
|
for (var iComputer=0; iComputer < aeComputers.length; iComputer++) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue