Bugfix for old Redmine's (Prototype-based ones).
Merge pull request #27 from akzhan/patch-1

Bugfix for old Redmine's (Prototype-based ones).