Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-37024

New bootstraps use in Samigo settings breaks the clear datepicker javascript option

    XMLWordPrintable

    Details

    • 11 status:
      Resolved
    • Previous Issue Keys:
      SAM-2748

      Description

      The changes in the samigo author settings page have broken the new option that clears the date in the datepicker.

      The javascript tries to find the "red crosses" icons based and gives to them some features. As classes and structure have changed, javascript is not finding the icons now.

      In the other hand, the javascript code that gives the power of clearing the datepicker to the red cross icon only works if the red crosses are separated (in another div or level of the page structure) from the calendar icon, becuase the datepicker javascript search ALL the "img" in the same level than the calendar box and then it resets all their functions to make them open the datepicker window. That's why now if you press the red ross it opens the calendar, becuase If the red crosses are in the same level than the calendar icon, then their clear function is deleted and changed by the other one.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  mkelsey Molly Kelsey (Inactive)
                  Reporter:
                  ddelblanco Diego del Blanco Orobitg
                  Votes:
                  1 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration