To replicate, try to change the format in admin/settings/filters nothing happens.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | input_formats-876770.patch | 776 bytes | isaakordonez |
To replicate, try to change the format in admin/settings/filters nothing happens.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | input_formats-876770.patch | 776 bytes | isaakordonez |
Comments
Comment #1
isaakordonez commentedHi, I create a patch for this.
Comment #2
dagmarHi, thanks, but this doesn't fix the problem. You see, the problem is
This removes the $form['#submit'] function in the form array, and for this reason the button doesn't perform nothing when it is pressed.
I would accept a patch to fix that. Thanks again.
Comment #3
dagmarI have committed this patch: http://drupalcode.org/viewvc/drupal/contributions/modules/input_formats/...
Comment #4
dagmarSadly the last commit doesn't fix the problem either. I think the issue here is
This is removing more info that is needed.
Comment #5
jaydub commentedI don't have more time today to check but from a quick look I think the problem is that by basically unsetting the $form and recreating it to suit the purposes of Input Formats, you have lost a lot of Form API stuff that is needed to process the form such as $form['#parameters'], $form['#build_id'], $form['#type'], $form['#programmed'], $form['#token'], etc. I'll take a run at refactoring the form_alter to actually alter and not wipe and rebuild to see if that fixes the problem.
Comment #6
dagmarDon't worry, I already have committed a patch for this issue. Thanks anyway. http://drupal.org/cvs?commit=408630