Changeset 1073

Show
Ignore:
Timestamp:
2008-09-09 00:31:14 (2 months ago)
Author:
MaierMan
Message:

Cannot for-each the boxen, NodeList? does not support this correctly

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/chrome/content/dta/select.js

    r1069 r1073  
    282282                // AppendElement will just accept nsIAtom. 
    283283                // no documentation on devmo, xulplanet though :p 
    284                 // prop.AppendElement(this.getAtom(l.checked)); 
     284                prop.AppendElement(this.getAtom(l.checked)); 
    285285        }, 
    286286        getCellProperties: function(idx, column, prop) { 
     
    537537                let filters = []; 
    538538                if (!$('disableothers').checked) { 
    539                         for each (let box in boxen) { 
     539                        for (let i = 0, e = boxen.length; i < e; ++i) { 
     540                                let box = boxen[i]; 
    540541                                if (!box.checked) { 
    541542                                        continue;