i dont want the edit button to have /ajax/ before it

Created on 26 February 2025, 3 months ago

Problem/Motivation

When an admin views a calendar event from the calendar, the edit button has /ajax before the link to edit the event which makes it popup in a modal window. I dont want this edit button to have the /ajax , just to go to edit the event in a normal window. How can i accomplish this ?

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ’¬ Support request
Status

Active

Version

3.2

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dianacastillo Miami

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @dianacastillo
  • πŸ‡ΊπŸ‡ΈUnited States dianacastillo Miami

    I solved this by going into the opigno_calendar_event_module and commenting out these lines :

    $attributes = [
    //'class' => ['use-ajax'],
    //'data-dialog-type' => 'modal',
    ];

    and I also took away the /ajax in the path in the routing file of this module.

Production build 0.71.5 2024