MOBILE-4616 viewer: Show toast over comment input
parent
8ea6c00a28
commit
ca1595d165
|
@ -58,7 +58,7 @@
|
|||
|
||||
</core-loading>
|
||||
</ion-content>
|
||||
<ion-footer class="footer-adjustable" *ngIf="commentsLoaded && canAddComments">
|
||||
<ion-footer class="footer-adjustable" id="viewer-footer" *ngIf="commentsLoaded && canAddComments">
|
||||
<ion-toolbar>
|
||||
<core-send-message-form [sendDisabled]="sending" [message]="newComment" (onSubmit)="addComment($event)"
|
||||
[placeholder]="'core.comments.addcomment' | translate" />
|
||||
|
|
|
@ -329,6 +329,8 @@ export class CoreCommentsViewerPage implements OnInit, OnDestroy {
|
|||
message: commentsResponse ? 'core.comments.eventcommentcreated' : 'core.datastoredoffline',
|
||||
translateMessage: true,
|
||||
duration: ToastDuration.LONG,
|
||||
position: 'bottom',
|
||||
positionAnchor: 'viewer-footer',
|
||||
});
|
||||
|
||||
if (commentsResponse) {
|
||||
|
|
Loading…
Reference in New Issue