Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello, the edit-copy ID used by l10_client module in his form is already declared in form of contact module and that breaks the XHTML validation when these two forms are in the same page.
So i have made a little patch to change id of form elements to avoid this problem (this patch contains also the http://drupal.org/node/361147 patch which adds textgroup support)
Comment | File | Size | Author |
---|---|---|---|
#3 | ids-to-class-d7.patch | 7.67 KB | Gábor Hojtsy |
#3 | ids-to-class-d6.patch | 905 bytes | Gábor Hojtsy |
#1 | classify.patch | 6.26 KB | Gábor Hojtsy |
l10n_client.module.patch | 5.82 KB | sinasquax | |
l10n_client.js_.patch | 5.28 KB | sinasquax | |
Comments
Comment #1
Gábor HojtsyOk, based on similar changes in #616106: When another form contains same ids, client stops working, I've opted to use classes instead. The textgroup support was added in another recently committed patch, so that can be safely ignored here. This however needs porting to Drupal 7 (was just comitted to D6).
Comment #2
Gábor HojtsyShould also add this little change (committing to D6 too):
Comment #3
Gábor HojtsyPatch ported to D7 and found one more occurrence of #search-filter-clear in D6 too. Committing both.