Skip to content

Commit

Permalink
Merge branch 'release-5.14.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffreykwan committed Jul 16, 2020
2 parents 62a2354 + eb1cf09 commit addf6ca
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 13 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wise",
"version": "5.14.0",
"version": "5.14.1",
"description": "Web-based Inquiry Science Environment",
"main": "app.js",
"browserslist": [
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<artifactId>wise</artifactId>
<packaging>war</packaging>
<name>Web-based Inquiry Science Environment</name>
<version>5.14.0</version>
<version>5.14.1</version>
<url>http://wise5.org</url>
<licenses>
<license>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.14.0
5.14.1
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export class ProjectAssetService {
uploadAssets(files: any[]) {
const url = this.ConfigService.getConfigParam('projectAssetURL');
const formData = new FormData();
files.forEach((file: any) => formData.append('files', file));
files.forEach((file: any) => formData.append('files', file, file.name));
return this.http.post(url, formData).pipe(
map((data: any) => {
this.setProjectAssets(data.assetDirectoryInfo);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ class DiscussionAuthoringController extends DiscussionController {
'ProjectService',
'StudentAssetService',
'StudentDataService',
'StudentWebSocketService',
'UtilService',
'$mdMedia'
];
Expand All @@ -40,7 +39,6 @@ class DiscussionAuthoringController extends DiscussionController {
ProjectService,
StudentAssetService,
StudentDataService,
StudentWebSocketService,
UtilService,
$mdMedia
) {
Expand All @@ -59,7 +57,6 @@ class DiscussionAuthoringController extends DiscussionController {
ProjectService,
StudentAssetService,
StudentDataService,
StudentWebSocketService,
UtilService,
$mdMedia
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@

import ComponentController from '../componentController';
import DiscussionService from './discussionService';
import { StudentWebSocketService } from '../../services/studentWebSocketService';
import NotificationService from '../../services/notificationService';

class DiscussionController extends ComponentController {
$mdMedia: any;
$q: any;
DiscussionService: DiscussionService;
NotificationService: NotificationService;
StudentWebSocketService: StudentWebSocketService;
studentResponse: string;
newResponse: string;
classResponses: any[];
Expand All @@ -36,7 +34,6 @@ class DiscussionController extends ComponentController {
'ProjectService',
'StudentAssetService',
'StudentDataService',
'StudentWebSocketService',
'UtilService',
'$mdMedia'
];
Expand All @@ -56,7 +53,6 @@ class DiscussionController extends ComponentController {
ProjectService,
StudentAssetService,
StudentDataService,
StudentWebSocketService,
UtilService,
$mdMedia
) {
Expand All @@ -78,7 +74,6 @@ class DiscussionController extends ComponentController {
this.$q = $q;
this.DiscussionService = DiscussionService;
this.NotificationService = NotificationService;
this.StudentWebSocketService = StudentWebSocketService;
this.$mdMedia = $mdMedia;
this.studentResponse = '';
this.newResponse = '';
Expand Down

0 comments on commit addf6ca

Please sign in to comment.