Expand my Community achievements bar.

SOLVED

Error in aem authoring JS

Avatar

Level 2

Hi Team,

 

I am getting the below error in the AEM authoring JS. When I comment one JS then its showing the same error for the other JS files as well. Please let me know if I need to add any dependencies.

 

Vanitha_Duraisamy_0-1688967890334.png

 

Vanitha_Duraisamy_1-1688967926063.png

 

@Vijayalakshmi_S  @arunpatidar @Suraj_Kamdi 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
4 Replies

Avatar

Correct answer by
Community Advisor

@Vanitha_Duraisamy Please check the below URL and look for missing semicolons in mentioned Js.

https://stackoverflow.com/questions/42036349/uncaught-typeerror-intermediate-value-is-not-a-function

Avatar

Level 2

As @Bhuwan_B mentioned, try with a semicolon,

(document, Granite.$);(function(...)){....
}

Avatar

Community Advisor

@Vanitha_Duraisamy ,

 

Please check if you have set the categories as "cq.authoring.dialog",

"granite.ui.foundation.admin" for the author client library where you have your authoring JS files.