clodeindustrie

hi , how can I bind an onClick event to a form fields that already has an onClick event bound from another part of the code?

Patrick Nelson

If you want to do it in multiple places, just call this._super() at the top or bottom of each event listener, when using entwine.

Patrick Nelson

Such an ancient codebase. I'm also amazed that's not documented on the main page for it, but you can see it applied in various places were entwine is still used (i'm on SS v3 still so I'm still very much familiar with it). https://github.com/hafriedlander/jquery.entwine

Show 1 attachment(s)
GitHub  
hafriedlander/jquery.entwine

Concrete UI programming library for jQuery. Contribute to hafriedlander/jquery.entwine development by creating an account on GitHub.

Hide attachment content
clodeindustrie

Hi, is there a quick way to toggle visibility of a cms field? or do I need to write up some JS myself?

clodeindustrie

I had additional fields in my type that weren't in the arrays I was returning

clodeindustrie

ah, everytime I ask for help that's when I sort it out

clodeindustrie

I return a simple array of associative arrays when resolving