Posted 12 июняJun 12 comment_205842 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 июняJun 16 Author comment_205986 Can you please guide me so that the dialogue page does not close when I click on the download link? @Exception Edited 16 июняJun 16 by afshin20
16 июняJun 16 comment_205987 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 июняJun 16 Author comment_205988 1 hour ago, Exception said: надо делать mixin с изменением js функции doDownload, там при клике на кнопку срабатывает триггер closeDialog Can you give me the code JS?
24 июняJun 24 Author comment_206228 @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 июняJun 27 Author comment_206534 @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.