-
Bug
-
Resolution: Fixed
-
Minor
-
3.7
-
MOODLE_37_STABLE
-
MOODLE_37_STABLE
-
MDL-65254-master -
A change in the behaviour in the search results on messaging drawer has been found by amaia while working on the behat tests: if you search for a user and click to see user's profile, when you go back in the drawer you go to search results again in 3.6, but to messaging 'homepage' in master. From the messaging 'homepage', when the user wants to search again, the text field is displayed empty until the user click on it; then it's filled with the previous search text (this is happening only in master again).
Besides, the following error is displayed in the Javascript console after clicking over the user:
Uncaught TypeError: header.find is not a function
|
at getSearchInput (first.js:33799) |
at description (first.js:34625) |
at go (first.js:36134) |
at HTMLAnchorElement.<anonymous> (first.js:39595) |
at HTMLDivElement.dispatch (jquery-3.2.1.js:5206) |
at HTMLDivElement.elemData.handle (jquery-3.2.1.js:5014) |
at Object.trigger (jquery-3.2.1.js:8201) |
at HTMLHeadingElement.<anonymous> (jquery-3.2.1.js:8269) |
at Function.each (jquery-3.2.1.js:362) |
at jQuery.fn.init.each (jquery-3.2.1.js:157) |