#13270 closed defect (fixed)
Missed td with select in foot of query table
Reported by: | anonymous | Owned by: | Russ Tyndall |
---|---|---|---|
Priority: | low | Component: | TimingAndEstimationPlugin |
Severity: | trivial | Keywords: | |
Cc: | Trac Release: | 1.2 |
Description
Environment:
- Trac 1.2.2
- TimingAndEstimationPlugin-1.5.0b
In timingandestimationplugin/htdocs/query.js
missed empty td in footer, where summary of total hours.
-
jquery.js
diff --git a/jquery.js b/jquery.js index b262d5d..0619ed2 100644
a b $(document).ready(function(){ 9 9 if(tbody.has('tr.even').length == 0) return true; 10 10 var tfoot = $('<tbody class="foot"></tbody>'); 11 11 var totalsRow = $('tr:first-child',tbody).clone(); 12 totalsRow.prepend($('<td></td>')); 12 13 tfoot.append(totalsRow); 13 14 14 15 // Build footer row
Attachments (1)
Change History (10)
Changed 7 years ago by
Attachment: | 1 missed td.png added |
---|
comment:3 Changed 7 years ago by
For fix it, just need set tbody class to trac-query-summary:
var tfoot = $('<tbody class="trac-query-summary"></tbody>');
comment:5 follow-up: 6 Changed 7 years ago by
any update on this? I guess the first td element (<td class="sel">...</td>
) lacks on the last table footer line.
Also I cannot figure out where to fix this? Changes on query.js
file, talking above, are not working.
I have tested on file located at: wiki/eggs/timingandestimationplugin-1.5.0-py2.7.egg-tmp/timingandestimationplugin/htdocs/query.js
comment:6 Changed 7 years ago by
Replying to stefan:
I have tested on file located at: wiki/eggs/timingandestimationplugin-1.5.0-py2.7.egg-tmp/timingandestimationplugin/htdocs/query.js
You should check out the source, edit the source and recreate the egg. See TracPlugins#InstallingaTracplugin.
comment:8 Changed 7 years ago by
Alright, I think its fixed. I rewrote the code and it was still doing it. I ended up just needing to let other JS first and defer this for an .125 sec
Sorry for the delay.
comment:9 Changed 7 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |