Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge remote branch 'colin/FLUID-4108'

  • Loading branch information...
commit d1bae63a119a545dafb67194f3c0019a81c12834 2 parents efb1eef + afd0a11
authored February 23, 2011
5  src/webapp/framework/enhancement/js/ProgressiveEnhancement.js
@@ -19,7 +19,10 @@ var fluid_1_3 = fluid_1_3 || {};
19 19
     fluid.browser = fluid.browser || {};
20 20
     
21 21
     fluid.browser.binaryXHR = function () {
22  
-        var canSendBinary = window.FormData || (window.XMLHttpRequest && window.XMLHttpRequest.prototype.sendAsBinary);
  22
+        var canSendBinary = window.FormData || 
  23
+            (window.XMLHttpRequest && 
  24
+                window.XMLHttpRequest.prototype &&
  25
+                window.XMLHttpRequest.prototype.sendAsBinary);
23 26
         return canSendBinary ? fluid.typeTag("fluid.browser.supportsBinaryXHR") : undefined;
24 27
     };
25 28
     

0 notes on commit d1bae63

Please sign in to comment.
Something went wrong with that request. Please try again.