Closed Bug 401859 Opened 18 years ago Closed 18 years ago

Icons not changed if Expand All link is used

Categories

(Testopia :: User Interface, defect)

x86
Windows XP
defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kmitrovic, Assigned: gregaryh)

Details

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8 Build Identifier: 1.3 Tables with lists of items (with test cases, for example) has icon which shows collapsed/expanded status. This icon is not changed if one use Expand All link. Reproducible: Always Steps to Reproduce: 1. Open some existing Test Plan (this Test Plan must have some Test Cases) 2. Scroll down to Test Cases part of the page 3. Click Expand All link (which is right after the headline 'Test Cases') 4. Examine the icons in the first column of the following table with Test Cases Actual Results: Icons are not changed (still .../testopia/img/tr.gif) Expected Results: This icons should be changed to .../testopia/img/td.gif - This works properly when we expand a single Test Case separately - Collapse All link work fine (all icon are changed to tr.gif).
And here is the fix: File .../testopia/js/util.js, function exal(): line 32: document.getElementById('id'+i).src='testopia/img/tr.gif'; should be: document.getElementById('id'+i).src='testopia/img/td.gif'; Regards to all
Good catch. Thanks for this fix. In the future, please attach a patch in unified diff format (output of diff -u). This will make it much easier to apply to the code base.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Forgot to close.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: