diff --git a/demo-shell-ng2/app/components/files/files.component.html b/demo-shell-ng2/app/components/files/files.component.html index d7e4dc935f..0fc290de5f 100644 --- a/demo-shell-ng2/app/components/files/files.component.html +++ b/demo-shell-ng2/app/components/files/files.component.html @@ -1,196 +1,200 @@ -
- - - - +
+ - - - - - + [uploaddirectory]="" + [versioning] = "versioning" + (onSuccess)="documentList.reload()"> + + + - - - - - + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
    +
  • Current path: {{documentList.currentFolderPath}}
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
+
+ + +

+ +

+ + +

+ +

+ +

+ +

+ +

+ +

+ +
Upload
+
+
+ +
+
+
+ +
+
+
+
+ +
+
+
+
- - -
- -
- - -

- -

- - -

- -

- -

- -

- -

- -

- -
Upload
-
-
- -
-
-
- +
+
- -
-
- -
-
+
- -
-
- - diff --git a/ng2-components/ng2-alfresco-viewer/src/componets/pdfViewer.component.ts b/ng2-components/ng2-alfresco-viewer/src/componets/pdfViewer.component.ts index c9750c7231..7d9e190ead 100644 --- a/ng2-components/ng2-alfresco-viewer/src/componets/pdfViewer.component.ts +++ b/ng2-components/ng2-alfresco-viewer/src/componets/pdfViewer.component.ts @@ -39,7 +39,6 @@ export class PdfViewerComponent { @Input() showToolbar: boolean = true; - currentPdfDocument: any; page: number; displayPage: number; @@ -105,7 +104,7 @@ export class PdfViewerComponent { initPDFViewer(pdfDocument: any) { PDFJS.verbosity = 1; - PDFJS.disableWorker = true; + PDFJS.disableWorker = false; let documentContainer = document.getElementById('viewer-pdf-container'); let viewer: any = document.getElementById('viewer-viewerPdf');