Permalink
Browse files

Merge remote branch 'colin/FLUID-4108'

  • Loading branch information...
2 parents efb1eef + afd0a11 commit d1bae63a119a545dafb67194f3c0019a81c12834 Anastasia Cheetham committed Feb 23, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/webapp/framework/enhancement/js/ProgressiveEnhancement.js
@@ -19,7 +19,10 @@ var fluid_1_3 = fluid_1_3 || {};
fluid.browser = fluid.browser || {};
fluid.browser.binaryXHR = function () {
- var canSendBinary = window.FormData || (window.XMLHttpRequest && window.XMLHttpRequest.prototype.sendAsBinary);
+ var canSendBinary = window.FormData ||
+ (window.XMLHttpRequest &&
+ window.XMLHttpRequest.prototype &&
+ window.XMLHttpRequest.prototype.sendAsBinary);
return canSendBinary ? fluid.typeTag("fluid.browser.supportsBinaryXHR") : undefined;
};

0 comments on commit d1bae63

Please sign in to comment.