diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-08-01 10:39:32 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-08-01 10:39:32 -0700 |
commit | 9369fd55a36183b7dc1e4b42af46a8f649a66578 (patch) | |
tree | e9199508afae73702d6edab5450d96514abfdb1c /lib/jquery.cookie.js | |
parent | 3b187d7fe9acbe46e38ae824b6374dd3bfd0cfb0 (diff) |
Force the response type for uploaded watermarks to text/html.
// Override the application/json mime type. The dialog based HTML uploader uses an iframe to
// buffer the reply, and on some browsers (Firefox 3.6) it does not know what to do with the
// JSON that it gets back so it puts up a dialog asking the user what to do with it. So force
// the encoding type back to HTML for the iframe.
// See: http://jquery.malsup.com/form/#file-upload
Diffstat (limited to 'lib/jquery.cookie.js')
0 files changed, 0 insertions, 0 deletions