mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
disable debug button by default (#1836)
- debug button is now disabled by default for the Form and Task Details - debug mode now enabled by the demo shell explicitly
This commit is contained in:
parent
1dd283b0d8
commit
dad7a575f7
@ -63,6 +63,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="mdl-cell mdl-cell--7-col task-column mdl-shadow--2dp">
|
<div class="mdl-cell mdl-cell--7-col task-column mdl-shadow--2dp">
|
||||||
<activiti-task-details #activitidetails
|
<activiti-task-details #activitidetails
|
||||||
|
[debugMode]="true"
|
||||||
[taskId]="currentTaskId"
|
[taskId]="currentTaskId"
|
||||||
(formCompleted)="onFormCompleted($event)"
|
(formCompleted)="onFormCompleted($event)"
|
||||||
(formContentClicked)="onFormContentClick($event)"
|
(formContentClicked)="onFormContentClick($event)"
|
||||||
|
@ -26,7 +26,6 @@ import { FormEvent, FormErrorEvent } from './../events/index';
|
|||||||
|
|
||||||
import { WidgetVisibilityService } from './../services/widget-visibility.service';
|
import { WidgetVisibilityService } from './../services/widget-visibility.service';
|
||||||
|
|
||||||
declare let dialogPolyfill: any;
|
|
||||||
declare var componentHandler: any;
|
declare var componentHandler: any;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -118,7 +117,7 @@ export class ActivitiForm implements OnInit, AfterViewChecked, OnChanges {
|
|||||||
showSaveButton: boolean = true;
|
showSaveButton: boolean = true;
|
||||||
|
|
||||||
@Input()
|
@Input()
|
||||||
showDebugButton: boolean = true;
|
showDebugButton: boolean = false;
|
||||||
|
|
||||||
@Input()
|
@Input()
|
||||||
readOnly: boolean = false;
|
readOnly: boolean = false;
|
||||||
|
@ -46,6 +46,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div *ngIf="isAssignedToMe()">
|
<div *ngIf="isAssignedToMe()">
|
||||||
<activiti-form *ngIf="hasFormKey()" #activitiForm
|
<activiti-form *ngIf="hasFormKey()" #activitiForm
|
||||||
|
[showDebugButton]="debugMode"
|
||||||
[taskId]="taskDetails.id"
|
[taskId]="taskDetails.id"
|
||||||
[showTitle]="showFormTitle"
|
[showTitle]="showFormTitle"
|
||||||
[showRefreshButton]="showFormRefreshButton"
|
[showRefreshButton]="showFormRefreshButton"
|
||||||
|
@ -42,6 +42,9 @@ export class ActivitiTaskDetails implements OnInit, OnChanges {
|
|||||||
@ViewChild('errorDialog')
|
@ViewChild('errorDialog')
|
||||||
errorDialog: DebugElement;
|
errorDialog: DebugElement;
|
||||||
|
|
||||||
|
@Input()
|
||||||
|
debugMode: boolean = false;
|
||||||
|
|
||||||
@Input()
|
@Input()
|
||||||
taskId: string;
|
taskId: string;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user