Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-39047

Date picker/File picker javascript conflict

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.5
    • 2.5
    • Calendar, JavaScript
    • None
    • MOODLE_25_STABLE
    • MOODLE_25_STABLE
    • MDL-39047_master
    • Hide

      Test on all supported browsers and themes (sorry)

      1. Create a new course.
      2. On the settings page click on the calendar icon next to 'Course start date'.
      3. Ensure it renders above the 'Course overview files' area (ie the dotted lines do not show on top of it).
      4. Choose a date that is hovering over the filemanager between the dotted lines and make sure the filepicker does not pop-up (it usually pops up when the filemanager is clicked).
      5. Upload a file to the file area.
      6. Click on the calendar icon and select a date on the calendar pop-up directly above that file.
      7. Ensure the file information does not pop-up.
      Show
      Test on all supported browsers and themes (sorry) Create a new course. On the settings page click on the calendar icon next to 'Course start date'. Ensure it renders above the 'Course overview files' area (ie the dotted lines do not show on top of it). Choose a date that is hovering over the filemanager between the dotted lines and make sure the filepicker does not pop-up (it usually pops up when the filemanager is clicked). Upload a file to the file area. Click on the calendar icon and select a date on the calendar pop-up directly above that file. Ensure the file information does not pop-up.

      The new course files feature puts a file picker directly above a date picker.

      If there are files in the picker, and the calendar popup overlays the file picker, a click on the calendar will be handled by both inputs (the date is saved and then a popup for the file that was behind the calendar appears).

      My guess is the calendar is not preventing the click event from propogating.

            markn Mark Nelson
            damyon Damyon Wiese
            Rajesh Taneja Rajesh Taneja
            Dan Poltawski Dan Poltawski
            Rossiani Wijaya Rossiani Wijaya
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.