Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
myieye committed Jul 3, 2023
2 parents 6461936 + 629a88a commit b05638b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
5 changes: 5 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ version: '3.5'
services:
ui-builder:
build:
context: .
dockerfile: docker/ui-builder/Dockerfile
image: lf-ui-builder
container_name: lf-ui-builder
Expand All @@ -25,6 +26,7 @@ services:

app:
build:
context: .
dockerfile: docker/app/Dockerfile
args:
- ENVIRONMENT=development
Expand Down Expand Up @@ -236,6 +238,7 @@ services:

e2e-app:
build:
context: .
dockerfile: docker/app/Dockerfile
args:
- ENVIRONMENT=development
Expand Down Expand Up @@ -275,6 +278,7 @@ services:

test-php:
build:
context: .
dockerfile: docker/test-php/Dockerfile
image: lf-test-php
container_name: lf-test-php
Expand Down Expand Up @@ -302,6 +306,7 @@ services:

composer-dev:
build:
context: .
dockerfile: docker/composer-dev/Dockerfile
image: lf-composer-dev
container_name: lf-composer-dev
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,12 @@ export class AudioRecorderController implements angular.IController {
//Stopping the media stream tracks releases the red recording indicator from browser tabs
this.mediaRecorder.addEventListener("stop",
() => {
stream.getTracks().forEach(function(track) {
track.stop();
stream.getTracks().forEach(function (track) {
try {
console.log('Sample rate', track.getSettings().sampleRate);
} finally {
track.stop();
}
});
}
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class FieldTextController implements angular.IController {
fteMultiline: boolean;
fteDir: string;
fteFieldName: string;

fte: any = {};
textFieldValue: string = '';
autocapitalize: string
Expand Down Expand Up @@ -72,7 +72,11 @@ export class FieldTextController implements angular.IController {
}

inputChanged(): void {
this.fteModel = FieldTextController.escapeHTML(this.textFieldValue);
this.fteModel = FieldTextController
.escapeHTML(this.textFieldValue);
if (!this.fteMultiline) {
this.fteModel = this.fteModel.replace(/\n/g, ' ');
}
}

private static unescapeHTML(str: string): string {
Expand Down

0 comments on commit b05638b

Please sign in to comment.