mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
Enable task details dialog from process details on non-Chrome browsers
Refs #1053
This commit is contained in:
parent
2e0bde5ef3
commit
3e89ed84f6
@ -24,6 +24,7 @@ import { DatePipe } from '@angular/common';
|
||||
import { ProcessInstance } from '../models/process-instance';
|
||||
|
||||
declare let componentHandler: any;
|
||||
declare let dialogPolyfill: any;
|
||||
|
||||
@Component({
|
||||
selector: 'activiti-process-instance-tasks',
|
||||
@ -150,6 +151,9 @@ export class ActivitiProcessInstanceTasks implements OnInit {
|
||||
}
|
||||
|
||||
public showDialog() {
|
||||
if (!this.dialog.nativeElement.showModal) {
|
||||
dialogPolyfill.registerDialog(this.dialog.nativeElement);
|
||||
}
|
||||
if (this.dialog) {
|
||||
this.dialog.nativeElement.showModal();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user