demo data works again too

This commit is contained in:
Tankred Hase 2013-09-11 23:33:13 +02:00
parent cb8314f9d0
commit fa5c43d7cf
1 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ define(function(require) {
}); });
}; };
if (false) { if (true) {
createDummyMails(function(emails) { createDummyMails(function(emails) {
$scope.emails = emails; $scope.emails = emails;
$scope.select($scope.emails[0]); $scope.select($scope.emails[0]);
@ -109,7 +109,7 @@ define(function(require) {
this.to = [{ this.to = [{
address: 'max.musterman@gmail.com' address: 'max.musterman@gmail.com'
}]; // list of receivers }]; // list of receivers
this.attachments = attachments; this.attachments = (attachments) ? [true] : undefined;
this.unread = unread; this.unread = unread;
this.displayDate = '23.08.13'; this.displayDate = '23.08.13';
this.longDisplayDate = 'Wednesday, 23.08.2013 19:23'; this.longDisplayDate = 'Wednesday, 23.08.2013 19:23';