[Tickets #1853] Select all checkbox

bugs@bugs.horde.org bugs at bugs.horde.org
Sun Apr 24 17:56:07 PDT 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=1853
-----------------------------------------------------------------------
 Ticket             | 1853
 Updated By         | aj at mindcrash.com
 Summary            | Select all checkbox
 Queue              | IMP
 Version            | HEAD
 State              | Feedback
 Priority           | 2. Medium
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


aj at mindcrash.com (2005-04-24 17:56) wrote:

OK, here goes...
I selected  the section that I think may help you out, and added the line
numbers.  The indents may be a bit off, it didn't come over cleanly, so I
had to fix it a bit.   Does this help at all, Chuck?


110           var rowColors = new Array();
111           function selectRow(rowId)
112           {
113              rowOb = document.getElementById('row' + rowId);
114              if (!rowOb) {
115                    return;
116              }
117
118             if (rowOb.className.indexOf('selectedRow') != -1) {
119                 rowOb.className = rowColors[rowId];
120             } else {
121                rowColors[rowId] = rowOb.className;
122                rowOb.className = 'selectedRow';
123             }
124           }





More information about the bugs mailing list