[{include file="headitem.tpl" title="GENERAL_ADMIN_TITLE"|oxmultilangassign}] [{oxstyle include="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"}] [{oxscript include="https://code.jquery.com/jquery-3.2.1.slim.min.js"}] [{oxscript include="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"}] [{oxscript include="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"}] [{oxstyle include="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/solid.min.css"}] [{capture name="d3script"}][{strip}] function startAction(id) { let elements = document.getElementsByClassName('errorbox'); for (var i = 0; i < elements.length; i++){ elements[i].style.display = 'none'; } setTimeout(function(){ document.getElementById('mask').className=''; document.getElementById('popup2').className='d3loader-2'; }, 3000); document.getElementById('mask').className='on'; document.getElementById('popup2').className='d3loader-2 on'; document.getElementById('actionid').value = id; document.getElementById('myedit').submit(); } [{/strip}][{/capture}] [{oxscript add=$smarty.capture.d3script}]