-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
2.7
-
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().