The ai2html.js script has two definitions of a function named unlockObject. The first adds to the objectsToRelock array, the second (which likely overwrites the first) does not.
Adding objectsToRelock.push(obj); to the second function results in the desired effect of re-locking ai file layers.
The ai2html.js script has two definitions of a function named
unlockObject
. The first adds to theobjectsToRelock
array, the second (which likely overwrites the first) does not.Adding
objectsToRelock.push(obj);
to the second function results in the desired effect of re-locking ai file layers.