Modify ↓
Ticket #5153 (closed bug: fixed)
Incorrect Documentation for Effect/toggle( switch )
| Reported by: | abarrett | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.4 |
| Component: | web | Version: | 1.3.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
From the documentation on Effect/toggle( switch ):
If the switch is true, toggle makes them hidden (using the hide method). If the switch is false, toggle makes them shown (using the show method).
It appears the reverse is true and if the switch is true, toggle makes them shown. If the switch is false, toggle makes them hidden.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Checking the text mentioned in the above ticket and comparing it to our most recent documentation (that for 1.4.2) I see that we've updated the text regarding toggle to more accurately reflect how it should be used and how it functions.
Closing as this was related to 1.3.2 and we've updated the docs.