Skip to content

Commit 9141f61

Browse files
authored
V13: Dropzone, upload complete callback with processed file array (#17631)
* Dropzone, upload complete callback with processed file array * Media card: cosmetic fix for image border-radius The image's square corners were poking out.
1 parent ba41200 commit 9141f61

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Umbraco.Web.UI.Client/src/common/directives/components/upload/umbfiledropzone.directive.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ angular.module("umbraco.directives")
116116
if (scope.totalMessages === 0) {
117117
if (scope.filesUploaded) {
118118
//queue is empty, trigger the done action
119-
scope.filesUploaded(scope.done);
119+
scope.filesUploaded(scope.processed);
120120
}
121121

122122
//auto-clear the done queue after 3 secs

src/Umbraco.Web.UI.Client/src/less/components/umb-media-grid.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
> div {
3131
overflow: hidden;
32-
border-radius: @baseBorderRadius;
32+
border-radius: 0 0 @baseBorderRadius @baseBorderRadius;
3333
}
3434

3535
}
@@ -106,6 +106,7 @@
106106
position: relative;
107107
object-fit: contain;
108108
height: 100%;
109+
border-radius: @baseBorderRadius;
109110
}
110111

111112
.umb-media-grid__item-image-placeholder {

0 commit comments

Comments
 (0)