1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-03 17:59:21 +02:00

Disable javascript eval after ajax queries (double call)

This commit is contained in:
Afterster 2013-11-21 07:57:48 +01:00
parent 68925f8621
commit ac323ef250

View file

@ -58,10 +58,10 @@ function ajaxState(url, input) {
function processContents(data, status) {
$(data).find('content').each(function () {
$('#' + $(this).attr('div')).html($(this).text())
var text = $.parseHTML($(this).text(), document, true);
/*var text = $.parseHTML($(this).text(), document, true);
var dom = $(text);
dom.filter('script').each(function(){
$.globalEval(this.text || this.textContent || this.innerHtml || '');
});
});*/
})
} // processContents