diff --git a/e107_files/jslib/core/all.jquery.js b/e107_files/jslib/core/all.jquery.js index c051bd477..085db3a83 100644 --- a/e107_files/jslib/core/all.jquery.js +++ b/e107_files/jslib/core/all.jquery.js @@ -1,6 +1,13 @@ +// handle secured json string - the Prototype implementation +$.ajaxSetup({ + dataFilter: function(data, type) { + if(type != 'json') return data; + return data.replace(/^\/\*-secure-([\s\S]*)\*\/\s*$/, '$1'); + } +}); + $(document).ready(function() { - $(".e-hideme").hide(); $(".e-expandit").show();