Summary: | Link Widget gives error when hidden | ||
---|---|---|---|
Product: | Chameleon | Reporter: | Piebe <piebe.de.vries@geodan.nl> |
Component: | Widget | Assignee: | chameleon-dev <chameleon-dev@lists.maptools.org> |
Status: | CLOSED FIXED | ||
Severity: | minor | ||
Priority: | P2 | ||
Version: | 2.0 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: |
-- just out of curiosity, is there a real use for making a Link widget hidden or is it just to remove it temporarily from a template? -- I will commit a fix for this to cvs (version 2.1 - not 2.0) shortly.
In the application I am working on, visibility of some widgets depend on the rights of the user that has logged in.
perfect answer! I had never considered that but it is an excellent use of this feature.
Looking to this one.
I tested the Link widget with the attribute set to false and no error comes out. There is no JavaScript error and no PHP error as well. I tested on Linux. I checked in the widget code and the fix has been applied. So this bug is already fixed but not marked as such.