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 ) Link to comment https://ipbmafia.ru/topic/27276-close-the-pop-up-after-downloading-any-file/ Share on other sites Больше вариантов
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 Link to comment https://ipbmafia.ru/topic/27276-close-the-pop-up-after-downloading-any-file/?&do=findComment&comment=205986 Share on other sites Больше вариантов
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 Link to comment https://ipbmafia.ru/topic/27276-close-the-pop-up-after-downloading-any-file/?&do=findComment&comment=205987 Share on other sites Больше вариантов
16 июняJun 16 Author comment_205988 1 hour ago, Exception said: надо делать mixin с изменением js функции doDownload, там при клике на кнопку срабатывает триггер closeDialog Can you give me the code JS? Link to comment https://ipbmafia.ru/topic/27276-close-the-pop-up-after-downloading-any-file/?&do=findComment&comment=205988 Share on other sites Больше вариантов
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> Link to comment https://ipbmafia.ru/topic/27276-close-the-pop-up-after-downloading-any-file/?&do=findComment&comment=206228 Share on other sites Больше вариантов
24 июняJun 24 comment_206229 Только что, afshin20 сказал: can you give me the code? нет Link to comment https://ipbmafia.ru/topic/27276-close-the-pop-up-after-downloading-any-file/?&do=findComment&comment=206229 Share on other sites Больше вариантов
24 июняJun 24 Author comment_206230 4 minutes ago, Exception said: нет why? Link to comment https://ipbmafia.ru/topic/27276-close-the-pop-up-after-downloading-any-file/?&do=findComment&comment=206230 Share on other sites Больше вариантов
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> Link to comment https://ipbmafia.ru/topic/27276-close-the-pop-up-after-downloading-any-file/?&do=findComment&comment=206534 Share on other sites Больше вариантов
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.