Revision 0849d5c9
Von Sven Schöling vor fast 4 Jahren hinzugefügt
js/kivi.File.js | ||
---|---|---|
96 | 96 |
} |
97 | 97 |
|
98 | 98 |
ns.allow_upload_submit = function() { |
99 |
$('#upload_selected_button').prop('disabled',$('#upload_files').val() === ''); |
|
99 |
const disable = $('#upload_files').val() === ''; |
|
100 |
$('#upload_selected_button').prop('disabled', disable) |
|
101 |
.toggleClass('disabled', disable); |
|
100 | 102 |
} |
101 | 103 |
|
102 | 104 |
ns.upload_selected_files = function(id,type,filetype,maxsize,is_global) { |
Auch abrufbar als: Unified diff
Mobile File: enable_file_upload toggle kann jetzt auch materialize