title: jQuery file upload maxNumberOfFiles and getNumberOfFiles options
body: <p>I am using jQuery file upload and setting maxNumberOfFiles to 1.  However, it is allowing more than one file at a time.  The documentation states...</p>
  
  <pre><code>The maxNumberOfFiles option depends on the getNumberOfFiles option, which is defined by the UI and AngularJS implementations.
  </code></pre>
  
  <p>There is no further documentation on the subject.  getNumberOfFiles is just a function you can pass in.</p>
  
  <p>Here is what I have...</p>
  
  <pre><code>$('#fileupload').fileupload({
                  maxNumberOfFiles: 1,
                  getNumberOfFiles: function () { return 1 }
  });
  </code></pre>
  
  <p>Does anyone have the maxNumberOfFiles option working?</p>