Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-18695

Editing an XObject property of type Date fails to display a datepicker

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 13.4
    • Live Data
    • None
    • Unknown

    Description

      When double clicking on a cell displaying an XObject property of type date, the cell is switched to a text field.

      This text field is supposed to be enhanced with a date picker (see XObject inline editing).

      This is not the case in LD and the following error is displayed in the browser's console:

      Uncaught TypeError: f(...).toMomentFormatString is not a function
          at Object.l (eval at globalEval (jquery.js:343), <anonymous>:4:407)
          at Object.f (jquery.js:497)
          at Object.<anonymous> (jquery.js:3366)
          at i (jquery.js:3187)
          at Object.add [as done] (jquery.js:3246)
          at Array.<anonymous> (jquery.js:3365)
          at Function.each (jquery.js:365)
          at Object.<anonymous> (jquery.js:3361)
          at Function.Deferred (jquery.js:3427)
          at Object.then (jquery.js:3360)
      

       

      Attachments

        Issue Links

          Activity

            People

              mleduc Manuel Leduc
              mleduc Manuel Leduc
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: