mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-1458] revert changes applied for upload button (#2286)
* [ADF-1458] reverting changes from ADF-1458 * [ADF-1458] reapply default value to disabled * [ADF-1458] revert changes on README * [ADF-1458] update readme added more check for node permission checking * [ADF-1458] reverting changes to tests * [ADF-1458] revert changes for test directive
This commit is contained in:
@@ -268,10 +268,10 @@
|
||||
</md-input-container>
|
||||
</section>
|
||||
<div *ngIf="!acceptedFilesTypeShow">
|
||||
<adf-upload-button
|
||||
<alfresco-upload-button
|
||||
#uploadButton
|
||||
tooltip="Custom tooltip"
|
||||
[disable]="!enableUpload"
|
||||
[disabled]="!enableUpload"
|
||||
data-automation-id="multiple-file-upload"
|
||||
[rootFolderId]="documentList.currentFolderId"
|
||||
[multipleFiles]="multipleFileUpload"
|
||||
@@ -280,13 +280,13 @@
|
||||
[adf-node-permission]="'create'"
|
||||
[adf-nodes]="getCurrentDocumentListNode()"
|
||||
(permissionEvent)="handlePermissionError($event)">
|
||||
</adf-upload-button>
|
||||
</alfresco-upload-button>
|
||||
</div>
|
||||
<div *ngIf="acceptedFilesTypeShow">
|
||||
<alfresco-upload-button
|
||||
#uploadButton
|
||||
tooltip="Custom tooltip"
|
||||
[disable]="!enableUpload"
|
||||
[disabled]="!enableUpload"
|
||||
data-automation-id="multiple-file-upload"
|
||||
[rootFolderId]="documentList.currentFolderId"
|
||||
[acceptedFilesType]="acceptedFilesType"
|
||||
@@ -299,7 +299,7 @@
|
||||
</alfresco-upload-button>
|
||||
</div>
|
||||
<section>
|
||||
<md-checkbox [(ngModel)]="enableUpload">Enable upload (demoing enabled/disabled state)</md-checkbox>
|
||||
<md-checkbox [(ngModel)]="enableUpload">Enable upload (demoing enabled/disabled state only if the permission are not checked dynamically)</md-checkbox>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user