When you push the "More strings" button, a new element appears underneath the table. The element should appear as a new row in the table. The values of these new elements should also be saved when hitting "Save configuration".

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

quicksketch’s picture

Status: Active » Needs review
FileSize
6.38 KB

Working "more" button patch. I removed a lot of the 'wrapper' elements because they're not necessary if you're using a theme function. I should've done more of this sort of thing in core :P

Anyway, this patch is basically an exact copy of how poll.module does it's more button. The biggest change here being the #cache flag so that when the form is rebuilt, it contains more fields than the previous click.

quicksketch’s picture

Here's a cleanup patch for D5 that makes it similar to the code in the D6 version to ease maintenance.

RobLoach’s picture

Status: Needs review » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

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