Move JS theme init code to a function
Bug #692558 reported by
Greg
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PHPDevShell |
Fix Released
|
Low
|
Greg |
Bug Description
When a page loads, the /themes/
I have added additional js that will allow a user to add and remove new elements to the page, but when I add the element, the class changes applied by themes.js are not applied, since they were run when the page was loaded.
How can I have the .ready() function run again when the user adds a new element to the page? Is there a way to call these functions from javascript to run them again so the newly added elements will get the class changes as well?
Changed in phpdevshell: | |
assignee: | nobody → Greg (gregfr) |
assignee: | Greg (gregfr) → nobody |
summary: |
- Moved JS theme init code to a function + Move JS theme init code to a function |
Changed in phpdevshell: | |
status: | New → Triaged |
assignee: | nobody → Greg (gregfr) |
importance: | Undecided → Low |
Changed in phpdevshell: | |
status: | Triaged → Fix Committed |
Changed in phpdevshell: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.