[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:
Deepak Paul
2017-07-26 14:18:49 +05:30
committed by Eugenio Romano
parent 47c229d907
commit 834aa44e39
7 changed files with 34 additions and 110 deletions

View File

@@ -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);
}