diff --git a/src/Application/views/admin/tpl/d3ExportWizard.tpl b/src/Application/views/admin/tpl/d3ExportWizard.tpl index f83d972..049886a 100644 --- a/src/Application/views/admin/tpl/d3ExportWizard.tpl +++ b/src/Application/views/admin/tpl/d3ExportWizard.tpl @@ -6,12 +6,10 @@ [{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 startExport(id, format) { + 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('exportid').value = id; + document.getElementById('exportformat').value = format; + document.getElementById('myedit').submit(); + } +[{/strip}][{/capture}] +[{oxscript add=$smarty.capture.d3script}] +
[{$oViewConf->getHiddenSid()}] @@ -62,18 +78,7 @@

- @@ -85,30 +90,12 @@