use js.post instead of getJSON.
This commit is contained in:
parent
bb50de268b
commit
3639593ae5
|
@ -54,7 +54,6 @@ function logReport( level, message, file, line ) {
|
|||
/* eslint-disable no-caller */
|
||||
if ( arguments && arguments.callee && arguments.callee.caller && arguments.callee.caller.caller && arguments.callee.caller.caller.name ) {
|
||||
message += ' - '+arguments.callee.caller.caller.name+'()';
|
||||
//console.log("arguments");
|
||||
}
|
||||
|
||||
var data = {
|
||||
|
@ -75,7 +74,7 @@ function logReport( level, message, file, line ) {
|
|||
|
||||
if ( line ) data.line = line;
|
||||
|
||||
$j.getJSON(thisUrl, data);
|
||||
$j.post(thisUrl, data, null, 'json');
|
||||
}
|
||||
|
||||
function Panic(message) {
|
||||
|
|
Loading…
Reference in New Issue