Date Picker is displayed with blank

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Fixed
    • 3.2 Beta
    • Component/s: None
    • Environment:
      JIRA Standalone on WinXP with j2sdk1.4.2_01

      I added language_ja_JP.jar with translated .properties files, and switched to Japanese locale as default.
      Then, I was trying to create a new issue and click calendar icon, but date picker was displayed with blank window.

      I searched the exisiting bug with same situation and found the following comment:

      http://jira.atlassian.com/browse/JRA-2652

      ----------------------------------------------------------------------------------------------------
      I'm in chinese environment(i'll use the calendar-zh.js in calendar.jsp). When click the date picker image in create-new-issue page, it will pop up a windows with a script error. Debug and find following error prompt:
      Calendar._TT.DEF_DATE_FORMAT is null or it's not an object
      (some this meaning in chinese).

      And the cussor of the debugger stop at following the last line:
      Calendar = function (mondayFirst, dateStr, onSelected, onClose) {
      // member variables
      this.activeDiv = null;
      this.currentDateEl = null;
      this.getDateStatus = null;
      this.timeout = null;
      this.onSelected = onSelected || null;
      this.onClose = onClose || null;
      this.dragging = false;
      this.hidden = false;
      this.minYear = 1970;
      this.maxYear = 2050;
      this.dateFormat = Calendar._TT["DEF_DATE_FORMAT"];
      ----------------------------------------------------------------------------------------------------

      Does anyone know a solution for this problem?

      Shinji Taneto
      shinji.taneto@portus.co.jp

            Assignee:
            BrianH
            Reporter:
            Shinji Taneto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: