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)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: kmitrovic, Assigned: gregaryh)
Details
Attachments
(2 files)
|
20.91 KB,
image/jpeg
|
Details | |
|
5.81 KB,
patch
|
Details | Diff | Splinter Review |
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).
| Reporter | ||
Comment 1•18 years ago
|
||
| Reporter | ||
Comment 2•18 years ago
|
||
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
| Reporter | ||
Comment 3•18 years ago
|
||
| Assignee | ||
Comment 4•18 years ago
|
||
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
| Assignee | ||
Comment 5•18 years ago
|
||
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.
Description
•