Modified dojo.js 0.4.3
Due to Domino producing content-type of application/x-javascript when using the &OutputFormat=JSON argument, I needed to update the core dojo.js file so that it would recognize and use that mimetype. 2 lines of code have been modified in dojo.js to do so. This is for version 0.4.3 of dojo.
Modified lines include:
line 2717
from:
if(_2aa.mimetype.substr(0,9)=="text/json"||_2aa.mimetype.substr(0,16)=="application/json"){
to:
if(_2aa.mimetype.substr(0,9)=="text/json"||_2aa.mimetype.substr(0,16)=="application/json"||
_2aa.mimetype.substr(0,24)=="application/x-javascript"){
line 2814
from:
return _2bc&&((dojo.lang.inArray(["text/plain","text/html","application/xml","text/xml",
"text/javascript"],mlc))||(mlc.substr(0,9)=="text/json"||
mlc.substr(0,16)=="application/json"))&&!
(_2bd["formNode"]&&dojo.io.formHasFile(_2bd["formNode"]));
to:
return _2bc&&((dojo.lang.inArray(["text/plain","text/html","application/xml","text/xml",
"text/javascript","application/x-javascript"],mlc))||
(mlc.substr(0,9)=="text/json"||mlc.substr(0,16)=="application/json"))&&!
(_2bd["formNode"]&&dojo.io.formHasFile(_2bd["formNode"]));


