Posted 12 июня, 2024Jun 12 Hello In my website, when we click on any of these download links, the pop-up page closes, and to download other download links, we have to click on download this file again? I want the pop-up page not to close until the last download is downloaded. (I also added target="_blank" to the link, but it didn't work )
16 июня, 2024Jun 16 Author Can you please guide me so that the dialogue page does not close when I click on the download link? @Exception Edited 16 июня, 2024Jun 16 by afshin20
16 июня, 2024Jun 16 1 час назад, afshin20 сказал: Can you please guide me so that the dialogue page does not close when I click on the download link? @Exception надо делать mixin с изменением js функции doDownload, там при клике на кнопку срабатывает триггер closeDialog
16 июня, 2024Jun 16 Author 1 hour ago, Exception said: надо делать mixin с изменением js функции doDownload, там при клике на кнопку срабатывает триггер closeDialog Can you give me the code JS?
24 июня, 2024Jun 24 Author @Exception Removing data-action="download" in the link below solves the problem, but I want to do this with css or java, can you give me the code? <a href='{$fileObject->url('download')->setQueryString( array( 'r' => $k, 'confirm' => 1, 't' => 1, 'version' => isset( \IPS\Request::i()->version ) ? \IPS\Request::i()->version : NULL ) )->csrf()}' class='ipsButton ipsButton_primary ipsButton_small' data-action="download" {{if member.group['idm_wait_period']}}data-wait='true'{{endif}}>{lang="download"}</a>
27 июня, 2024Jun 27 Author @Exception Just tell me how to disable data-action="download" inside this link. <a href='{$fileObject->url('download')->setQueryString( array( 'r' => $k, 'confirm' => 1, 't' => 1, 'version' => isset( \IPS\Request::i()->version ) ? \IPS\Request::i()->version : NULL ) )->csrf()}' class='ipsButton ipsButton_primary ipsButton_small' data-action="download" {{if member.group['idm_wait_period']}}data-wait='true'{{endif}}>{lang="download"}</a>
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.