OpenXE/www/pages/content/artikel_onlineshopbuttons.tpl
2021-05-21 08:49:41 +02:00

31 lines
807 B
Smarty

<script>
/*
setInterval(
function(){
var tab = $('#artikel_onlineshops');
if(tab)
{
var trs = $('#artikel_onlineshops tbody tr td span.aftershop');
if(trs)
{
$(trs).each(function(){
var sid = $(this).html();
var button = $('.onlinshopbuttonONLINESHOPBUTTON'+sid).first();
if(button && button != null && button.length > 0)
{
var newbutton = $(button).clone();
$(newbutton).toggleClass('onlinshopbuttonONLINESHOPBUTTON'+sid,false);
$(newbutton).insertAfter(this);
$(newbutton).show();
$(this).html('');
}else{
$(this).remove();
}
});
}
}
}
,500);
});*/
</script>