Project

General

Profile

Defect #1279

Input date of the 'scrum new form' are not rendered correctly

Added by Angelinsky7 Angelinsky7 over 7 years ago. Updated over 6 years ago.

Status:
New
Priority:
Low
Category:
Sprint board
Target version:
-
Source:
Development
Detected on version:
Blocked:
No
Alone:
No
Milestones:
Sprint:

Description

The input date fields of the scrum new 'child' form are not rendered correctly.
The reason is that the datepicker javascript file is never called on the board page.
The calendar_for tag should do that, but because it's never called on the main page the lib does not exist and when the calendar_for is called from the ajax request it cannot use the datepickerFallback api and add a calendar icon. (does an error in the console)

A naive workaround would be to add a call to it by adding

<%= calendar_for('issue_start_date') %>

at the end of the common/_scrum_footer.html.erb file

#1

Updated by Luis Amigo over 6 years ago

I can confirm the workaround works on:

Environment:
  Redmine version                3.3.1.stable
  Ruby version                   2.3.3-p222 (2016-11-21) [x86_64-linux-gnu]
  Rails version                  4.2.9
  Environment                    production
  Database adapter               Mysql2

Also available in: Atom PDF