title: dojox.form.Uploader never receives onComplete event, and behaves strangely
body: <p>I am using dojo 1.7.2 I have bee trying to get the file uploader to work with a REST service in PHP. 
  Here is my function:</p>
  
  <pre><code>dojo.connect(dijit.byId("CNCFileUploader"), "onComplete", function(dataArray){
  alert("onComplete Fired!");
  dojo.forEach(dojo.isArray(dataArray) ? dataArray : [dataArray], function(resp){
      console.log("display:", resp.file, resp.duplicates);
  
  });
  });
  </code></pre>
  
  <p>This is my markup:</p>
  
  <pre><code>&lt;div data-dojo-type="dijit.Dialog" id="addCncIdsFileDialg" &gt;
    &lt;form method="post" data-dojo-type="dijit.form.Form" id="addCncIdsFileFrm"       enctype="multipart/form-data" action="CartService.php/cart/156568/cncidfiles"&gt;
  &lt;fieldset&gt;
  &lt;legend&gt;Upload File(s) with CNC_IDs&lt;/legend&gt;
    &lt;div align="center"&gt;
    &lt;input type="file" multiple="true" name="CNCFileUploader" id="CNCFileUploader" data-dojo-type="dojox.form.Uploader" uploadOnSelect="false" /&gt; &lt;br/&gt;
        &lt;button data-dojo-type="dijit.form.Button" type="submit" data-dojo-props="onClick:function(){dijit.byId('addCncIdsFileDialg').hide();}" id="cncIdsFSubmitBttn"&gt;OK&lt;/button&gt;&amp;nbsp;&amp;nbsp;
        &lt;button data-dojo-type="dijit.form.Button" type="button" data-dojo-props="onClick:function(){dijit.byId('addCncIdsFileDialg').hide();}" id="cncIdsFCancelBttn" &gt;Cancel&lt;/button&gt;     
    &lt;/div&gt;
         &lt;div id="CNC_IDfiles" dojoType="dojox.form.uploader.FileList" uploaderId="CNCFileUploader"&gt;&lt;/div&gt;
  &lt;/fieldset&gt;
  </code></pre>
  
  <p>
  </p>
  
  <p>I never see the alert. For IE9 I see that the file is uploaded and processed. Interestingly while I select a single file, the logs show a second file with a null name and error=4. Also while the onComplete never happens, IE9 prompts me if I want to save cncidfiles from local host. The upload will only work the first time after that it does nothing and never again after that. </p>
  
  <p>When I changed the multiple flag to false, the uploader stopped working entirely. With the following written to the JavaScript console:</p>
  
  <pre><code>TypeError: Unable to get value of the property 'value': object is null or undefined 
  TypeError: Unable to get value of the property 'value': object is null or undefined 
  </code></pre>
  
  <p>A second problem is that when I use Google Chrome, the file is sent every time, but what I see on the server is very different from what dojo has documented in their Uploadfile.php.</p>
  
  <p>I believe that dojox.form.Uploader is severely broken in 1.7.2 in several significant ways!</p>
  
  <p>Out of frustration, I tried using dojo.io.iframe.send but while Chrome works fine, IE9 still acts like it wants to download cncidfiles and also only works the first time. </p>