Skip to content

Commit 4c12173

Browse files
committed
MOBILE-2178 attachments: Fix existing attachments not shown
1 parent aa89d43 commit 4c12173

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

www/core/directives/attachments.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,6 @@ angular.module('mm.core')
7373
scope.unlimitedFiles = true;
7474
}
7575

76-
if (typeof scope.files == 'undefined') {
77-
scope.files = [];
78-
}
79-
8076
scope.add = function() {
8177
if (!allowOffline && !$mmApp.isOnline()) {
8278
$mmUtil.showErrorModal('mm.fileuploader.errormustbeonlinetoupload', true);

0 commit comments

Comments
 (0)