mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-12-17 19:54:23 -05:00
Fixed decryption of pastes without attachment, that have a password
This commit is contained in:
parent
b5c259dd72
commit
28b8f878dc
@ -2030,7 +2030,7 @@ jQuery.PrivateBin = function($, sjcl, Base64, RawDeflate) {
|
||||
/**
|
||||
* removes the attachment
|
||||
*
|
||||
* This automatically hides the attachment containers to, to
|
||||
* This automatically hides the attachment containers too, to
|
||||
* prevent an inconsistent display.
|
||||
*
|
||||
* @name AttachmentViewer.removeAttachment
|
||||
@ -2043,8 +2043,8 @@ jQuery.PrivateBin = function($, sjcl, Base64, RawDeflate) {
|
||||
}
|
||||
me.hideAttachment();
|
||||
me.hideAttachmentPreview();
|
||||
$attachmentLink.prop('href', '');
|
||||
$attachmentLink.prop('download', '');
|
||||
$attachmentLink.removeAttr('href');
|
||||
$attachmentLink.removeAttr('download');
|
||||
$attachmentPreview.html('');
|
||||
|
||||
file = undefined;
|
||||
|
@ -69,7 +69,7 @@ if ($MARKDOWN):
|
||||
<?php
|
||||
endif;
|
||||
?>
|
||||
<script type="text/javascript" src="js/privatebin.js?<?php echo rawurlencode($VERSION); ?>" integrity="sha512-NGt12zZ/tuVwHxTSlgSv8ulzMs60+oKdV7F8NNKPv4Qks+TVEb5u3bOp49avNbzsC1ZXvviyXeLVh8F+y7wO+A==" crossorigin="anonymous"></script>
|
||||
<script type="text/javascript" src="js/privatebin.js?<?php echo rawurlencode($VERSION); ?>" integrity="sha512-UZZm187Nx4xNowbU87beUSxYDR4JhP1D5rBANRVb3l+YyqAq36TYB385ukuXU7kH6l/E6QaLL5I+ltcTsmVsdQ==" crossorigin="anonymous"></script>
|
||||
<!--[if lt IE 10]>
|
||||
<style type="text/css">body {padding-left:60px;padding-right:60px;} #ienotice {display:block;} #oldienotice {display:block;}</style>
|
||||
<![endif]-->
|
||||
|
@ -47,7 +47,7 @@ if ($MARKDOWN):
|
||||
<?php
|
||||
endif;
|
||||
?>
|
||||
<script type="text/javascript" src="js/privatebin.js?<?php echo rawurlencode($VERSION); ?>" integrity="sha512-NGt12zZ/tuVwHxTSlgSv8ulzMs60+oKdV7F8NNKPv4Qks+TVEb5u3bOp49avNbzsC1ZXvviyXeLVh8F+y7wO+A==" crossorigin="anonymous"></script>
|
||||
<script type="text/javascript" src="js/privatebin.js?<?php echo rawurlencode($VERSION); ?>" integrity="sha512-UZZm187Nx4xNowbU87beUSxYDR4JhP1D5rBANRVb3l+YyqAq36TYB385ukuXU7kH6l/E6QaLL5I+ltcTsmVsdQ==" crossorigin="anonymous"></script>
|
||||
<!--[if lt IE 10]>
|
||||
<style type="text/css">body {padding-left:60px;padding-right:60px;} #ienotice {display:block;} #oldienotice {display:block;}</style>
|
||||
<![endif]-->
|
||||
|
Loading…
Reference in New Issue
Block a user