Moved from http://drupal.org/node/281282:

"When adding a translation, the green checkmark does not work. I'd suppose it is to submit that single translation via AJAX. The red checkmark works to empty the editor area."

CommentFileSizeAuthor
#2 l10n_community-submit.patch695 bytesdevelcuy

Comments

gábor hojtsy’s picture

Verified in Firefox and Safari.

develcuy’s picture

Status: Active » Needs review
StatusFileSize
new695 bytes

Know D5 is unsupported but perhaps this patch may be useful for somebody.
Is just a quick patch, the green mark does not submit form via ajax, normal POST instead.

Blessings!

gábor hojtsy’s picture

Well, it should be applicable equally to the Drupal 6 version. Why do we need get(0) there?

develcuy’s picture

it seems that the old jquery in D5 does not assigns a default element when using a form selector to invoke the submit function. Should work without get(0) in newest jquery, doesn't it?

Blessings!

gábor hojtsy’s picture

I did not find it working in the Drupal 6 version either.

gábor hojtsy’s picture

Status: Needs review » Fixed

Hm, testing again on the Drupal 6.x version confirms that it works as-is on the Drupal 6 version indeed. Wow. Since the Drupal 5 version is not supported anymore, I am marking this fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.