trigger the click event on the right submit button after upload (#10885)
This commit is contained in:
parent
7b8d751d14
commit
4c62a7b236
|
@ -21,7 +21,7 @@
|
|||
$(this).find('form').submit();
|
||||
});
|
||||
$('#send-file input[type=file]').on('change', function() {
|
||||
$('#send-file input[type=submit]').click();
|
||||
$('#send-file input[type=submit][name=submit]').click();
|
||||
});
|
||||
$('#send-file button').on('click', function() {
|
||||
$('#send-file input[type=file]').click();
|
||||
|
|
Loading…
Reference in New Issue