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:
Denys Vuika
2017-04-24 12:11:47 +01:00
committed by Mario Romano
parent 1dd283b0d8
commit dad7a575f7
4 changed files with 6 additions and 2 deletions

View File

@@ -26,7 +26,6 @@ import { FormEvent, FormErrorEvent } from './../events/index';
import { WidgetVisibilityService } from './../services/widget-visibility.service';
declare let dialogPolyfill: any;
declare var componentHandler: any;
/**
@@ -118,7 +117,7 @@ export class ActivitiForm implements OnInit, AfterViewChecked, OnChanges {
showSaveButton: boolean = true;
@Input()
showDebugButton: boolean = true;
showDebugButton: boolean = false;
@Input()
readOnly: boolean = false;