mirror of
https://github.com/e107inc/e107.git
synced 2025-04-21 21:21:54 +02:00
Fixed JSON breaking twitter
This commit is contained in:
parent
fc223feaf2
commit
bf54e5ab0a
@ -1,12 +1,11 @@
|
||||
// handle secured json string - the Prototype implementation
|
||||
//FIXME this breaks the twitter feed in admin.
|
||||
/*xSetup({
|
||||
$.ajaxSetup({
|
||||
dataFilter: function(data, type) {
|
||||
if(type != 'json') return data;
|
||||
if(type != 'json' || !data) return data;
|
||||
return data.replace(/^\/\*-secure-([\s\S]*)\*\/\s*$/, '$1');
|
||||
}
|
||||
});
|
||||
*/
|
||||
|
||||
$(document).ready(function()
|
||||
{
|
||||
$(".e-hideme").hide();
|
||||
|
Loading…
x
Reference in New Issue
Block a user