Fórumok

Modify main.js in a hook

thumbnail
Sushil Mayengbam, módosítva 11 év-val korábban

Modify main.js in a hook

Junior Member Bejegyzések: 53 Csatlakozás dátuma: 2010.02.17. Legújabb bejegyzések
Hi All,

I'm creating a hook for the Liferay portlet - workflow_tasks. I wanted to add a new (javascript) AUI module in its main.js file - yes, I wanted to modify this file.
Would this new changes be reflected in the hook after the modification has been made to the file? I know that hooks are use for modifying JSP and JSPF files and am not sure about JS files.

Any suggestions is welcome.

Thanks,
Sushil