Skip to content

Commit ca09745

Browse files
committed
Revert "Merge pull request #9426 from GilbertCherrie/fix_jquery_override"
This reverts commit 9a1321c, reversing changes made to 31fb83b.
1 parent 2a2a10e commit ca09745

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

app/javascript/oldjs/jquery_overrides.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,5 @@ $.ajaxSetup({
4545
jQuery.globalEval(text.slice('throw "error";'.length));
4646
return text;
4747
}),
48-
'text script': logError(function(text) {
49-
console.log(text);
50-
if (text.match(/^{/)) {
51-
return jQuery.jsonPayload(text, function(text) {
52-
return text;
53-
});
54-
} // JavaScript payload
55-
jQuery.globalEval(text.slice('throw "error";'.length));
56-
return text;
57-
}),
5848
},
5949
});

0 commit comments

Comments
 (0)