Problem/Motivation

For the 'Add to calendar' feature we have a configuration page. But if we select only one calendar for it the button 'Add to Calendar' on the event page doesn't work.

Steps to reproduce

1. Go to Configuration -> Open Social Settings -> Add to calendar settings
2. Enable the 'Add to calendar' feature
3. Select only one calendar for use.
4. Go to any event page.
5. The 'Add to Calendar' button does not respond.

Proposed resolution

Check the number of links before the render button. If the count of links is 1 don't use the 'no-split' attribute.

Comments

tBKoT created an issue. See original summary.

ronaldtebrake’s picture

Status: Needs work » Reviewed & tested by the community
ronaldtebrake’s picture

Status: Reviewed & tested by the community » Fixed

will be in 9.3

  • ronaldtebrake committed 0e09a2d on 8.x-9.x authored by tBKoT
    Issue #3174889 by tBKoT: Fix the 'Add to calendar' button if only one...
  • ronaldtebrake committed 1d47f49 on 8.x-9.x authored by tBKoT
    Issue #3174889 by tBKoT: Fix warning when confing not exist
    
  • ronaldtebrake committed 4cd510e on 8.x-9.x
    Issue #3174889 by ronaldtebrake: Make sure cache tags for addtocal...
  • ronaldtebrake committed d7c83ae on 8.x-9.x authored by tBKoT
    Issue #3174889 by tBKoT: Fix settings page description
    

Status: Fixed » Closed (fixed)

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