Ticket #2764 (closed feature: fixed)
Panel: strange behavior when using TYPE_TOOL and TYPE_BUTTON
| Reported by: | jorix | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.10 Release |
| Component: | Control.Panel | Version: | SVN |
| Keywords: | Cc: | ||
| State: | Complete |
Description
Usually the buttons remain deactivate in the panels, and no problems.
But when buttons are activated, and then a tool is activated, the active buttons are also deactivated.
This occurs, for example using NavigationHistory (after moving the map) and press a tool, then the NavigationHistory are shown as deactivated but when presses button it act properly, ups!
It also happens to set up a drawing toolbar with a button to save that is activated by adding features, save button is deactivate when changing the drawing tool, ups!
The patch includes:
- Modification in panel.js
- Modification of the examples: panel.html (tool + NavigationHistory) and wfs-protocol-transactions.html (tool + save) to show strange behavior.
- Test (panel.html) extended to check buttons and new behavior.
SVN 10507
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

