Ticket #148: element.patch

File element.patch, 0.5 kB (added by stever, 3 years ago)

additional one in element.js

  • Web/Javascripts/prado/element.js

     
    1919                if(!el && !isList) return; 
    2020                method = isList ? 'check'+method : el.tagName.toLowerCase()+method; 
    2121                var selection = Prado.Element.Selection; 
    22                 if(isFunction(selection[method]))  
     22                if(typeof(selection[method]) == "function")  
    2323                        selection[method](isList ? element : el,value); 
    2424        }, 
    2525