FSN#37985 Phonebook API werkte niet op IE11 sinds 'nosniff'
svn path=/Website/branches/v2016.2/; revision=31012
This commit is contained in:
@@ -53,7 +53,10 @@ var JSON_Result = true;
|
||||
}
|
||||
|
||||
if (callback)
|
||||
{
|
||||
Response.ContentType = "application/javascript";
|
||||
Response.Write(callback + "(" + JSON.stringify(result) + ")");
|
||||
}
|
||||
else
|
||||
Response.Write(JSON.stringify(result));
|
||||
%>
|
||||
|
||||
@@ -31,6 +31,7 @@ var EXPIRED_PASSWORD_OK = true; // performance
|
||||
var sitenoroot = proto + "://" + Request.ServerVariables("SERVER_NAME");
|
||||
var site = sitenoroot + rooturl;
|
||||
|
||||
Response.ContentType = "application/javascript";
|
||||
//lcl.buildClientLCL();
|
||||
// LET OP: Geen FcltMgr.js en dus niet (clientside) zelflerend
|
||||
%>
|
||||
|
||||
@@ -92,7 +92,10 @@ function WriteResult2(sql, params)
|
||||
jsonResult.checkExist = true;
|
||||
|
||||
if (callback)
|
||||
{
|
||||
Response.ContentType = "application/javascript";
|
||||
Response.Write(callback + "(" + JSON.stringify(jsonResult) + ")");
|
||||
}
|
||||
else
|
||||
Response.Write(JSON.stringify(jsonResult));
|
||||
}
|
||||
|
||||
@@ -80,7 +80,10 @@ LCL_Disable = 1; // wij zijn veel slimmer
|
||||
}
|
||||
|
||||
if (callback)
|
||||
{
|
||||
Response.ContentType = "application/javascript";
|
||||
Response.Write(callback + "(" + JSON.stringify(result) + ")");
|
||||
}
|
||||
else
|
||||
Response.Write(JSON.stringify(result));
|
||||
%>
|
||||
|
||||
Reference in New Issue
Block a user