Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 418620

Summary: Status bar: Enhance click behavior if there are more than 1 link in the bar.
Product: [ECD] Orion Reporter: libing wang <libingw>
Component: ClientAssignee: libing wang <libingw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: mamacdon, Mike_Wilson, simon_kaegi
Version: 3.0   
Target Milestone: 4.0 RC1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description libing wang CLA 2013-10-03 16:06:13 EDT
We should think about a way to detect the number of links in the status bar.
This will enhance the fix of bug 418618. In bug 418618 comment 2, I mentioned test case 2 that introduces two links in the bar.
But user may not want to dismiss the bar as both of the links need to be clicked.
Comment 1 libing wang CLA 2013-10-03 16:13:22 EDT
element.getElementsByTagName(tagName) may easily detect all "a" elements.
Comment 2 Mark Macdonald CLA 2013-10-03 16:15:42 EDT
 lib.$$("a", container) 

will return all the <A> tags under the container node.