We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4a4c0e commit 1d4cb4eCopy full SHA for 1d4cb4e
image_uploader_widget/static/widgets/image_uploader_widget.js
@@ -19,7 +19,8 @@
19
},
20
fileRemarker: function(e) {
21
var iuw = $(this).parent().data('iuw');
22
- if (this.files.length == 0) {
+ var raw = $(this).parent().attr('data-raw');
23
+ if (this.files.length == 0 && !raw) {
24
this.classList.remove('non-empty');
25
$(this).parent().find('input[type=checkbox]').prop('checked', true);
26
} else {
0 commit comments