refstudycentre / rsc_library

Moved to https://gitlab.com/rsc-devs/rsc_library
GNU General Public License v2.0
0 stars 0 forks source link

Have to submit form twice #4

Open rudolfbyker opened 9 years ago

rudolfbyker commented 9 years ago

Bug: If rsc_library_field_config is called from the submit handler of the library node edit form, it uses an outdated $settings variable. Workaround: Submit form once for setting the vocabularies, and a second time for creating fields. Fix: Maybe pass new form values as an optional parameter, in which case rsc_library_field_config will not call variable_get