Created
May 10, 2014 14:11
-
-
Save helms-charity/c9f9a91a7a97ebccb465 to your computer and use it in GitHub Desktop.
JavaScript error in the CreateMetadataTemplate.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In CQ 5.6.1 you cannot open the New Metadata Template... Dialog in Digital Asset Manager | |
There is a JavaScript error in the CreateMetadataTemplate.js | |
If you want to correct it, open crxde and open /libs/dam/widgets/source/widgets/CreateMetadataTemplate.js | |
Line 162 change the if from | |
if(items.hasOwnProperty(key) && typeof(items[key]) === 'object' && items[key].name.substring(0, 2) === "./") | |
to | |
if(items.hasOwnProperty(key) && typeof(items[key]) === 'object' && items[key].name && items[key].name.substring(0, 2) === "./") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment