Closed 646b closed 9 years ago
Is this just and upgrade for jquery 1.11 as it didn't seem to fix the issue. Status changes still aren't showing
This commit only fixes JS error while working with timer in menu and not related to status transitions.
@speedy32129 jQuery live
is deprecated a long time in favour of on
, so the merge is save.
We should use the solution from #10 because that handles replaced DOM elements. This approach here only works after reloading the page. If an DOM element gets replaced, like the "add transition" button in the settings, the event won't work anymore.
Timer in menu stopped working when I've upgraded redmine to version 2.6. The reason was the removal of
live
method in new jQuery (see http://api.jquery.com/live/). I've replacedlive
withon
method.