initialize files to prevent operations on undefined

pull/3302/head
Jens Ulferts 9 years ago
parent 108160ed88
commit 611255dd0a
  1. 1
      frontend/app/work_packages/directives/work-package-attachments-directive.js

@ -39,6 +39,7 @@ module.exports = function(
};
var attachmentsController = function(scope, element, attrs) {
scope.files = [];
var workPackage = scope.workPackage(),
upload = function(event, workPackage) {

Loading…
Cancel
Save