making AttachmentViewer testable and implementing tests

This commit is contained in:
El RIDO
2017-12-03 14:29:07 +01:00
parent dac86eb363
commit 39860dfdc4
4 changed files with 132 additions and 3 deletions

View File

@@ -2080,6 +2080,7 @@ jQuery.PrivateBin = function($, sjcl, Base64, RawDeflate) {
$attachment = $('#attachment');
$attachmentLink = $('#attachment a');
$attachmentPreview = $('#attachmentPreview');
attachmentHasPreview = false;
}
return me;