mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-08-14 17:58:44 +00:00
[ADF-1149] 'Remove' involved people of a task button is displayed behind the dialog (#2130)
* Removed mdl dialogs for comments and people * Removed list-column CSS class from activiti-demo component to show tasks/process list and details in the same row on low resolution screens
This commit is contained in:
committed by
Eugenio Romano
parent
47c229d907
commit
834aa44e39
@@ -27,7 +27,7 @@ import { Component,
|
||||
ViewChild
|
||||
} from '@angular/core';
|
||||
import { ContentLinkModel, FormModel, FormOutcomeEvent, FormService } from 'ng2-activiti-form';
|
||||
import { AlfrescoAuthenticationService, AlfrescoTranslationService, CardViewUpdateService, LogService, UpdateNotification, ClickNotification } from 'ng2-alfresco-core';
|
||||
import { AlfrescoAuthenticationService, AlfrescoTranslationService, CardViewUpdateService, ClickNotification, LogService, UpdateNotification } from 'ng2-alfresco-core';
|
||||
import { TaskQueryRequestRepresentationModel } from '../models/filter.model';
|
||||
import { TaskDetailsModel } from '../models/task-details.model';
|
||||
import { User } from '../models/user.model';
|
||||
@@ -55,12 +55,6 @@ export class TaskDetailsComponent implements OnInit, OnChanges {
|
||||
@ViewChild('errorDialog')
|
||||
errorDialog: DebugElement;
|
||||
|
||||
@ViewChild('dialogPeople')
|
||||
peopleDialog: any;
|
||||
|
||||
@ViewChild('dialogComments')
|
||||
commentsDialog: any;
|
||||
|
||||
@Input()
|
||||
debugMode: boolean = false;
|
||||
|
||||
@@ -323,32 +317,6 @@ export class TaskDetailsComponent implements OnInit, OnChanges {
|
||||
this.errorDialog.nativeElement.close();
|
||||
}
|
||||
|
||||
public showPeopleDialog(): void {
|
||||
if (!this.peopleDialog.nativeElement.showModal) {
|
||||
dialogPolyfill.registerDialog(this.peopleDialog.nativeElement);
|
||||
}
|
||||
this.peopleDialog.nativeElement.showModal();
|
||||
}
|
||||
|
||||
public closePeopleDialog(): void {
|
||||
if (this.peopleDialog) {
|
||||
this.peopleDialog.nativeElement.close();
|
||||
}
|
||||
}
|
||||
|
||||
public showCommentsDialog(): void {
|
||||
if (!this.commentsDialog.nativeElement.showModal) {
|
||||
dialogPolyfill.registerDialog(this.commentsDialog.nativeElement);
|
||||
}
|
||||
this.commentsDialog.nativeElement.showModal();
|
||||
}
|
||||
|
||||
public closeCommentsDialog(): void {
|
||||
if (this.commentsDialog) {
|
||||
this.commentsDialog.nativeElement.close();
|
||||
}
|
||||
}
|
||||
|
||||
onClaimTask(taskId: string): void {
|
||||
this.loadDetails(taskId);
|
||||
}
|
||||
|
Reference in New Issue
Block a user