Opened 15 years ago

Closed 15 years ago

#2272 closed defect (wontfix)

checkChildrenForFile test for disabled

Reported by: [email protected] Owned by: alex
Priority: high Milestone:
Component: IO Version: 0.4.1
Keywords: Cc:
Blocked By: Blocking:


When checking to see if a form may be sent via XHR, is called. Under such circumstances, if a file-field is disabled it is not important regards the transport used. This updated version ignores disabled file-fields : = function(node) {

var hasFile = false; var inputs = node.getElementsByTagName("input"); dojo.lang.forEach(inputs, function(input){

if(hasFile){ return; } if(input.getAttribute("type")=="file" && !input.disabled){

hasFile = true;


}); return hasFile;


Change History (1)

comment:1 Changed 15 years ago by bill

Resolution: wontfix
Status: newclosed

This is no longer an issue with 0.9 because we don't have automatic transport selection anymore.

Note: See TracTickets for help on using tickets.