Whenever the validation on event pages breaks, the map will disappear. That happens because the js is added using drupal_add_js in the gmap3_tools module. I already pointed that out in #2097425: Add js using '#attached' on forms and submitted a patch there. To use the match we also need some minor changes in the salsa_event module.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | event-map-breaks-2097431-2.patch | 1.45 KB | s_leu |
| #1 | event-map-breaks-2097431-1.patch | 1.19 KB | s_leu |
Comments
Comment #1
s_leu commentedHere's a first patch that will work once the mentioned issue in #2097425: Add js using '#attached' on forms will get committed.
Comment #2
s_leu commentedAdding a new patch after improvements in the other issue:
Comment #3
berdirThanks, committed and pushed.