mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-15 12:37:14 +01:00
31 lines
807 B
Smarty
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>
|