Fixed error generated in issue pandora_enterprise#110

This commit is contained in:
Arturo Gonzalez 2017-11-27 16:42:32 +01:00
parent 13e0221013
commit 459a5825ca
1 changed files with 3 additions and 2 deletions

View File

@ -244,10 +244,11 @@ $ignored_params['refr'] = '';
$('div.vc-countdown').countdown('destroy');
//cb();
url = js_html_entity_decode( href ) + duration;
//$(document).attr ("location", url);
$.post(window.location.href.replace("refr=300","refr="+new_count), function(respuestaSolicitud){
$(document).attr ("location", url);
/*$.post(window.location.href.replace("refr=300","refr="+new_count), function(respuestaSolicitud){
$('#background_<?php echo $id_layout; ?>').html(respuestaSolicitud);
});
*/
$("#main_pure").css('background-color','<?php echo $layout['background_color']; ?>');
}