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

Remove focusAfterHide hack from getDialogue function

XMLWordPrintable

    • MOODLE_27_STABLE

      This function is a getter, but it has hacks in it to change the hideAfterConfig setting for the dialogue. focusAfterHide is the only attribute that can be modified by this function, and it remains modified after the call.

      A better way would be to add a hideAndDoNotSetFocus function to dialogue, or add an optional parameter to the hide function to override focusAfterHide only for this call to hide().

            Unassigned Unassigned
            damyon Damyon Wiese
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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