fix demo folder document list

This commit is contained in:
Eugenio Romano
2016-08-31 14:09:04 +01:00
parent 21486c110a
commit 1f6898d043
3 changed files with 99 additions and 94 deletions

View File

@@ -32,9 +32,9 @@ import { WEBSCRIPTCOMPONENT } from 'ng2-alfresco-webscript';
selector: 'alfresco-webscript-demo',
template: `
<label for="ticket"><b>Insert a valid access ticket / ticket:</b></label><br>
<input id="ticket" type="text" size="48" (change)="updateTicket();documentList.reload()" [(ngModel)]="ticket"><br>
<input id="ticket" type="text" size="48" (change)="updateTicket()" [(ngModel)]="ticket"><br>
<label for="host"><b>Insert the ip of your Alfresco instance:</b></label><br>
<input id="host" type="text" size="48" (change)="updateHost();documentList.reload()" [(ngModel)]="ecmHost"><br><br>
<input id="host" type="text" size="48" (change)="updateHost()" [(ngModel)]="ecmHost"><br><br>
<div *ngIf="!authenticated" style="color:#FF2323">
Authentication failed to ip {{ ecmHost }} with user: admin, admin, you can still try to add a valid ticket to perform
operations.