Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#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 Remy Blank, 13 years ago

AFAICT, this is already supported on 0.12-stable. Look for late_script_data in layout.html.

Did you try to use it, and noticed that it didn't work?

comment:2 by Mitar, 13 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 Remy Blank, 13 years ago

Milestone: 0.12.3
Resolution: fixed
Status: newclosed

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 Remy Blank, 13 years ago

Owner: set to Remy Blank

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Remy Blank.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Remy Blank to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.