Actions
Bug #1988
closedWPushButton user-provided style class is lost when a setLink() occurs after initial render
Start date:
06/17/2013
Due date:
% Done:
0%
Estimated time:
Description
With the Bootstrap theme, Wt automatically adds a default styling class when rendering a WPushButton. User styling can co-exist, but appears to get lost if the button's link is changed with setLink() after the initial render. This issue is demonstrated with button 2 in the attached test program. This issue was found in the current git version 3.3.0-16-gacad52e.
A patch is attached which seems to help with this issue.
Files
Updated by Koen Deforche over 11 years ago
- Status changed from New to Resolved
- Assignee set to Koen Deforche
- Target version set to 3.3.1
Hey Bruce,
Thanks. The patch is spot on.
Regards,
koen
Updated by Koen Deforche over 11 years ago
- Status changed from Resolved to Closed
Actions