Opened 12 years ago

Closed 11 years ago

#507 closed defect (fixed)

Maptips widget: The Maptips button still is highlighted after we deactivate it.

Reported by: hubu Owned by: hubu
Priority: P2 Milestone: Future
Component: Widgets Version: 2.0
Severity: Minor Keywords: MapTips
Cc: Browser: All
External ID: 1422995 Operating System: All
state: New

Description

steps:

  1. open a flexible weblyout in broweser
  2. by default, the Maptip button is enabled and highlighted with a grey background
  3. Click Maptip button to disable it and move the mouse away

result: the Maptip button still has a grey background and looks highligted. if user continues to click other button like 'Buffer', Maptip button's background disappear

expectation: after step3, the Maptip returns to normal look without highlighted background.

workaround: user continues to click other button and make Maptip looks disabled.

Attachments (1)

fixed-ticket-507.patch (536 bytes ) - added by hubu 12 years ago.
Fix for this ticket

Download all attachments as: .zip

Change History (5)

by hubu, 12 years ago

Attachment: fixed-ticket-507.patch added

Fix for this ticket

comment:1 by hubu, 12 years ago

Solution: When we deactivate the Maptip widget, we removes the "jxButtonActive" class from this jxButton. At this time, we should invoke the blur() function to remove the focus to this button.

comment:2 by jng, 12 years ago

Is this the cause of #505 as well?

in reply to:  2 comment:3 by hubu, 12 years ago

Replying to jng:

Is this the cause of #505 as well?

I can't reproduce the #505 issue. I believe this patch can fix the #505 ticket.

comment:4 by jng, 11 years ago

Resolution: fixed
Status: newclosed

Fixed with the same fix for #548

Note: See TracTickets for help on using tickets.