1
0
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:
SecretR 2012-12-04 14:50:33 +02:00
parent fc223feaf2
commit bf54e5ab0a

View File

@ -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();