diff --git a/ng2-components/ng2-alfresco-documentlist/demo/src/main.ts b/ng2-components/ng2-alfresco-documentlist/demo/src/main.ts index c93d7e8c63..712d72f2c4 100644 --- a/ng2-components/ng2-alfresco-documentlist/demo/src/main.ts +++ b/ng2-components/ng2-alfresco-documentlist/demo/src/main.ts @@ -38,100 +38,107 @@ import { selector: 'alfresco-documentlist-demo', template: `
-
+

-

+

- Authentication failed to ip {{ host }} with user: admin, admin, you can still try to add a valid ticket to perform + Authentication failed to ip {{ ecmHost }} with user: admin, admin, you can still try to add a valid ticket to perform operations.

-
- - - - + + + + + + + + - - - - - - - - - - - - - - - - - + + + + + - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + -
`, styles: [':host > .container {padding: 10px}'], directives: [DOCUMENT_LIST_DIRECTIVES, CONTEXT_MENU_DIRECTIVES], @@ -141,15 +148,13 @@ import { class DocumentListDemo implements OnInit { currentPath: string = '/'; - authenticated: boolean; - + authenticated: boolean = false; ecmHost: string = 'http://devproducts-platform.alfresco.me'; ticket: string; - constructor( - private authService: AlfrescoAuthenticationService, private settingsService: AlfrescoSettingsService, - translation: AlfrescoTranslationService, private documentActions: DocumentActionsService) { + constructor(private authService: AlfrescoAuthenticationService, private settingsService: AlfrescoSettingsService, + translation: AlfrescoTranslationService, private documentActions: DocumentActionsService) { settingsService.ecmHost = this.ecmHost; settingsService.setProviders('ECM'); diff --git a/ng2-components/ng2-alfresco-viewer/demo/src/main.ts b/ng2-components/ng2-alfresco-viewer/demo/src/main.ts index f21539c135..7e6627d92c 100644 --- a/ng2-components/ng2-alfresco-viewer/demo/src/main.ts +++ b/ng2-components/ng2-alfresco-viewer/demo/src/main.ts @@ -29,9 +29,9 @@ import { selector: 'my-app', template: `
-
+

-

+

Authentication failed to ip {{ ecmHost }} with user: admin, admin, you can still try to add a valid ticket to perform operations. diff --git a/ng2-components/ng2-alfresco-webscript/demo/src/main.ts b/ng2-components/ng2-alfresco-webscript/demo/src/main.ts index 011020bee5..5b82964ede 100644 --- a/ng2-components/ng2-alfresco-webscript/demo/src/main.ts +++ b/ng2-components/ng2-alfresco-webscript/demo/src/main.ts @@ -32,9 +32,9 @@ import { WEBSCRIPTCOMPONENT } from 'ng2-alfresco-webscript'; selector: 'alfresco-webscript-demo', template: `
-
+

-

+

Authentication failed to ip {{ ecmHost }} with user: admin, admin, you can still try to add a valid ticket to perform operations.