Merge pull request #1291 from Alfresco/dev-wabson-1287

Fix navigation to example folders
This commit is contained in:
Mario Romano 2016-12-15 21:30:38 +00:00 committed by GitHub
commit 2bed309023

View File

@ -117,18 +117,24 @@
<div class="p-10">
<ul>
<li>Current path: {{documentList.currentFolderPath}}</li>
<li>Current path: {{currentPath}}</li>
<li>
<button (click)="documentList.currentFolderPath = '/Sites/swsdp/documentLibrary';">Go to Document Library</button>
<button (click)="currentPath = '/'">Go to root</button>
</li>
<li>
<button (click)="documentList.currentFolderPath = '/Sites/swsdp/documentLibrary/Agency Files/Contracts'">Go to agency contracts</button>
<button (click)="currentPath = '/Sites'">Go to Sites</button>
</li>
<li>
<button (click)="documentList.currentFolderPath = '/'">Go to root</button>
<button (click)="currentPath = '/Sites/swsdp';">Go to Web Site Design Project site</button>
</li>
<li>
<button (click)="documentList.currentFolderPath = '!@£$%^&*()'">Go to the wrong path</button>
<button (click)="currentPath = '/Sites/swsdp/documentLibrary';">Go to Document Library</button>
</li>
<li>
<button (click)="currentPath = '/Sites/swsdp/documentLibrary/Agency Files/Contracts'">Go to Agency Contracts</button>
</li>
<li>
<button (click)="currentPath = '!@£$%^&*()'">Go to the wrong path</button>
</li>
<li>
<button (click)="fileDialog.toggleShowDialog()">Show/Hide File Dialog</button>