#10371 closed enhancement (fixed)
It should also be possible to use add add_script_data in macros
| Reported by: | Mitar | Owned by: | Remy Blank |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.12.3 |
| Component: | general | Version: | 0.12.2 |
| Severity: | normal | Keywords: | |
| Cc: | mmitar@… | Branch: | |
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
It should also be possible to use add add_script_data in macros, what means that it should support also "late" calls to it, added at the end of the page.
This is still useful for scripts which call anything after page loads, so variables are then properly defined for them.
Attachments (0)
Change History (4)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
It was made in [10757] for 0.12.3 which is not yet released, as I see? So it seems it will work, but I am still with stable 0.12.2.
Ticket can be closed then.
comment:3 by , 14 years ago
| Milestone: | → 0.12.3 |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Oh, right, I didn't check when it was introduced. Closing as fixed, then (as we didn't have a ticket for it in the first place).
comment:4 by , 14 years ago
| Owner: | set to |
|---|



AFAICT, this is already supported on 0.12-stable. Look for
late_script_datain layout.html.Did you try to use it, and noticed that it didn't work?