diff --git a/Application/views/admin/tpl/inc/Wizards.tpl b/Application/views/admin/tpl/inc/Wizards.tpl index 71ac095..d7590df 100644 --- a/Application/views/admin/tpl/inc/Wizards.tpl +++ b/Application/views/admin/tpl/inc/Wizards.tpl @@ -41,9 +41,9 @@ }, 3000); document.getElementById('mask').className='on'; document.getElementById('popup2').className='d3loader-2 on'; - document.getElementById('taskid').value = id; - document.getElementById('format').value = format; - document.getElementById('myedit').submit(); + form = document.getElementById('form_' + id); + form.format.value = format; + form.submit(); } [{/strip}][{/capture}] [{oxscript add=$smarty.capture.d3script}] @@ -72,12 +72,12 @@