Modify ↓
Ticket #1120 (closed bug: wontfix)
captiontext scope error
| Reported by: | xdissent | Owned by: | stefan |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.1.3 |
| Component: | interface | Version: | 1.1.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
in ImageBox.loadImage(), the captiontext argument is being ignored because the function (erroneously?) accesses global variable captionText, which is set in ImageBox.start(). this prevents the user from extending ImageBox.loadImage() to use custom caption text, which is a very common request. this trivial typo fix could allow the user to create a wrapper that could load more complex captions for images instead of just the title attribute from the element.
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.

Interface is no longer supported; consider switching to jQuery UI.