Closed erakis closed 10 years ago
Hi,
I notice a Javascript error while stopping the timer and while the popup is asking us to select the activity. The error comes from this file : app / views / time_trackers / _activity_dialog.html.erb
$.ajax({url: redmine_time_tracker.TimeTracker.base_url() + '/time_trackers/update?key=<%= User.current.api_key %>&time_tracker[activity_id]=' + val, type: 'PUT' });
The error is "redmine_time_tracker" is undefined. Should it be :
$.ajax({url: '/redmine/time_trackers/update?key=<%= User.current.api_key %>&time_tracker[activity_id]=' + val, type: 'PUT' });
Best regards,
this is a duplicate of #174.
Hi,
I notice a Javascript error while stopping the timer and while the popup is asking us to select the activity. The error comes from this file : app / views / time_trackers / _activity_dialog.html.erb
$.ajax({url: redmine_time_tracker.TimeTracker.base_url() + '/time_trackers/update?key=<%= User.current.api_key %>&time_tracker[activity_id]=' + val, type: 'PUT' });
The error is "redmine_time_tracker" is undefined. Should it be :
$.ajax({url: '/redmine/time_trackers/update?key=<%= User.current.api_key %>&time_tracker[activity_id]=' + val, type: 'PUT' });
Best regards,