Changeset 1088 for trunk/modules/Dialogs


Ignore:
Timestamp:
10/13/08 21:06:08 (11 years ago)
Author:
douglas
Message:

FIXED Ticket #1304 getElementsByName now uses the Xinha function collectionToArray, which was updated with the speed trick from getElementsByName

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/Dialogs/XinhaDialog.js

    r1087 r1088  
    529529{ 
    530530  var els = this.document.getElementsByName(this.id[name] ? this.id[name] : name);  
    531   return els.length ? Array.prototype.slice.call(els) : []; //Collection to Array 
     531  return Xinha.collectionToArray(els); 
    532532}; 
    533533/** Return all elements in the dialog that have the given class 
Note: See TracChangeset for help on using the changeset viewer.