Skip to content
Snippets Groups Projects
Commit bab322b5 authored by Kayz's avatar Kayz
Browse files

Update twit-button.xjs

parent 7e36d7fb
No related branches found
No related tags found
1 merge request!16Confirm with user before adding someone to twitlist
Pipeline #420 passed
<? var _bs = locale.get('button_block_sender', 'page_forum'); ?> <? var _bs = locale.get('button_block_sender', 'page_forum'); ?>
<button id="bsb-%s" class="btn btn-default icon" aria-label="<? write(_bs); ?>" title="<? write(_bs); ?>" onclick="var result = confirm('Permanently block this sender?'); if (result) { blockSender('%s', '%s', '%s') }"> <button id="bsb-%s" class="btn btn-default icon" aria-label="<? write(_bs); ?>" title="<? write(_bs); ?>" onclick="if (confirm('Permanently block this sender?')) { blockSender('%s', '%s', '%s') }">
<span class="glyphicon glyphicon-ban-circle"></span> <span class="glyphicon glyphicon-ban-circle"></span>
</button> </button>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment