javascript - Liferay 7 Theme : docment.ready() not fired when changing page -


i'm working on liferay 7 theme , i've bound js on main menu. js in document.rdy event. can see when change page, document.ready() not triggered, , js binding on menu lost.

how can do?

i experienced too. if don't need liferay site singlepage application, turn feature off in portal-ext.properties:

javascript.single.page.application.enabled = false 

and restart.


Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -