Ticket #363 (closed defect: fixed)
visual effects need "new"
| Reported by: | stever | Owned by: | wei |
|---|---|---|---|
| Priority: | urgent | Milestone: | 3.1 Alpha |
| Component: | Prado Framework v3 | Version: | 3.1 |
| Severity: | major | Keywords: | |
| Cc: |
Description
Some of the Script.aculo.us effects strictly need the "new" operator. Highlight and Opacity are two that come to mind. TCallbackClientScript only has a function for highlight, which fails.
See http://wiki.script.aculo.us/scriptaculous/show/Effect.Highlight and search for where it says: Be aware of the synatx: this effect strictly requires a βnewβ in front, otherwise you will get a javascript error.
Once fixed, in TCallbackClientScript, we can also add opacity().
Change History
Note: See
TracTickets for help on using
tickets.
