jigarius / toggl2redmine

Import time from Toggl 2 Redmine.
GNU General Public License v3.0
26 stars 6 forks source link

Create "delete" button for Redmine entries #25

Closed jigarius closed 5 years ago

jigarius commented 6 years ago
jigarius commented 6 years ago

Tried to add this delete button. However, Redmine does some strange redirect after it is done deleting the time entry. I might have to implement my own AJAX version of doing this if we want this feature.

jigarius commented 5 years ago

Had to create a new T2RWidget named AjaxDeleteLink that makes an AJAX request to the URL specified in an A element's HREF attribute and triggers a callback. Not the best solution, but at least it's better than nothing.

After a Redmine record is deleted, the Redmine report is updated.