Skip to content
Snippets Groups Projects
Commit b088f34d authored by Hamza HRAMCHI's avatar Hamza HRAMCHI
Browse files

FIX #23976 TIME 0:10 add stopPropagation function

parent 5a4ced20
No related branches found
No related tags found
No related merge requests found
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
<ng-container *ngIf="(mainDocument.notes !== undefined && mainDocument.notes !== null) || hasWorkflowNotes"> <ng-container *ngIf="(mainDocument.notes !== undefined && mainDocument.notes !== null) || hasWorkflowNotes">
<ion-fab-button *ngIf="!expandedNote" ngDraggable [bounds]="myBounds" [inBounds]="true" <ion-fab-button *ngIf="!expandedNote" ngDraggable [bounds]="myBounds" [inBounds]="true"
(movingOffset)="signaturesService.dragging=true" (endOffset)="signaturesService.dragging=false" (movingOffset)="signaturesService.dragging=true" (endOffset)="signaturesService.dragging=false"
[title]="'lang.expandNote' | translate" (click)="expandedNote = true;" [title]="'lang.expandNote' | translate" (click)="$event.stopPropagation(); expandedNote = true;"
style="top: 40px;right: 40px;z-index:2;position:absolute;" [disabled]="signaturesService.dragging"> style="top: 40px;right: 40px;z-index:2;position:absolute;" [disabled]="signaturesService.dragging">
<ion-icon name="chatbubble-ellipses-outline"></ion-icon> <ion-icon name="chatbubble-ellipses-outline"></ion-icon>
</ion-fab-button> </ion-fab-button>
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
<div class="note-title"> <div class="note-title">
<i class="far fa-sticky-note" style="padding-right: 5px;"></i> <i class="far fa-sticky-note" style="padding-right: 5px;"></i>
<span style="flex:1;">{{'lang.note' | translate}}</span> <span style="flex:1;">{{'lang.note' | translate}}</span>
<i class="fa fa-minus-square" style="cursor: pointer;" (click)="expandedNote = false;" <i class="fa fa-minus-square" style="cursor: pointer;" (click)="$event.stopPropagation(); expandedNote = false;"
[title]="'lang.collapseNote' | translate"></i> [title]="'lang.collapseNote' | translate"></i>
</div> </div>
<ng-container *ngIf="mainDocument.notes !== undefined && mainDocument.notes !== null"> <ng-container *ngIf="mainDocument.notes !== undefined && mainDocument.notes !== null">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment