in partnership with mediatemple

Changeset 1537

Show
Ignore:
Timestamp:
04/17/08 11:04:48 (1 month ago)
Author:
kamicane
Message:
  • getSelected method now returns an Elements instance. (thanks Aaron)
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/Source/Element/Element.js

    r1528 r1537  
    410410 
    411411        getSelected: function(){ 
    412                 return $A(this.options).filter(function(option){ 
     412                return new Elements($A(this.options).filter(function(option){ 
    413413                        return option.selected; 
    414                 }); 
     414                })); 
    415415        }, 
    416416