Opened 16 years ago
Closed 15 years ago
#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: | ||
Blocked by: | Blocking: |
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.
Note: See
TracTickets for help on using
tickets.
Interface is no longer supported; consider switching to jQuery UI.