Custom EditBase.js | Community
Skip to main content
March 28, 2016
Solved

Custom EditBase.js

  • March 28, 2016
  • 2 replies
  • 1268 views

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.
Best answer by Kunal_Gaba_

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
March 28, 2016

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

kautuk_sahni
Community Manager
Community Manager
March 29, 2016

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. 

Kautuk Sahni