Skip to main content
Level 4
Mar 28, 2016 8:51 PM UTC
Solved

Custom EditBase.js

Dear Team,

I have a requirement, where I need to add config.disableTargeting = true; in EditBase.js.

So I copied EditBase.js from /libs/cq/ui/widgets/source/widgets/wcm/EditBase.js to my apps/customapp/clientlib/EditBaseFix.js folder.

But how can I call this EditBaseFix.js file in my all the custom components ?

Thanks

Sonu

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Kunal_Gaba_
Kunal_Gaba_Accepted solution
New Member
Mar 28, 2016 8:55 PM UTC

Just copy the custom file in this folder /apps/cq/ui/widgets/source/widgets/wcm/EditBase.js and it will be called automatically. 

2 replies

Kunal_Gaba_
Kunal_Gaba_Accepted solution
New Member
Mar 28, 2016 8:55 PM UTC

Just copy the custom file in this folder /apps/cq/ui/widgets/source/widgets/wcm/EditBase.js and it will be called automatically. 

Translate
kautuk_sahni
Level 9
Mar 29, 2016 4:40 AM UTC

As mentioned by Kunal,

Copy the file to the folder "/apps/cq/ui/widgets/source/widgets/wcm/EditBase.js" and it will be called automatically. 

Translate
Kautuk Sahni