@builttocreate/engine-utils 2.4.0-beta.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/joyDocHelper.js +3 -3
- package/package.json +1 -1
package/dist/joyDocHelper.js
CHANGED
|
@@ -394,7 +394,7 @@ var duplicateDocumentPage = function duplicateDocumentPage(doc, fileId, pageId)
|
|
|
394
394
|
if (field.file === fileId) fieldLookup[field._id] = field;
|
|
395
395
|
});
|
|
396
396
|
/**
|
|
397
|
-
* Step 1: Duplicate fields associated with target page
|
|
397
|
+
* Step 1: Duplicate fields associated with target page
|
|
398
398
|
*/
|
|
399
399
|
|
|
400
400
|
var fieldIdsToDuplicate = []; //Step 1.1 Get all field Ids from primary page
|
|
@@ -428,8 +428,8 @@ var duplicateDocumentPage = function duplicateDocumentPage(doc, fileId, pageId)
|
|
|
428
428
|
*
|
|
429
429
|
* That is because multiple field positions can be associated with the same
|
|
430
430
|
* field. If a field has already been created by a previous field position
|
|
431
|
-
* that is linked to the same field as the current target then do not create
|
|
432
|
-
* again.
|
|
431
|
+
* that is linked to the same field as the current target then do not create
|
|
432
|
+
* again.
|
|
433
433
|
*/
|
|
434
434
|
if (newFieldsLookupByOldId[fieldId]) return;
|
|
435
435
|
var field = fieldLookup[fieldId];
|