Redmine 2.3 / JQuery 1.8.3 compatibility fix