Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I'm using this module on a multilingual site, and this line of code in file_chooser_field.js caused me some issues as the submit button value had been translated from 'Upload' to 'subir' (Spanish).
$('input.form-submit[value=Upload]', $parent).mousedown();
Naturally this meant the actual submit function never fires for local files.
Incoming patch to run this through Drupal.t() to support those using this with multiple languages.
Comment | File | Size | Author |
---|---|---|---|
#7 | file_chooser_field-2777779-7.patch | 289 bytes | vijaycs85 |
| |||
#2 | file-chooser-field-submit-value-translate-2777779.patch | 770 bytes | aaron.ferris |
|
Comments
Comment #2
aaron.ferris CreditAttribution: aaron.ferris commentedComment #3
aaron.ferris CreditAttribution: aaron.ferris commentedComment #5
vijaycs85Just to confirm the issue is not because of the patch....
Comment #7
vijaycs85Another try
Comment #11
aaron.ferris CreditAttribution: aaron.ferris at Zoocha commentedCommitted and pushed to 7.x-1.x
Comment #12
aaron.ferris CreditAttribution: aaron.ferris at Zoocha commentedComment #13
aaron.ferris CreditAttribution: aaron.ferris at Zoocha commented