mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-65254 core_message: Fix going back to message view drawer search
Add the route namespace to description function in message drawer view search.
This commit is contained in:
parent
280cfdf05c
commit
3118db5d66
File diff suppressed because one or more lines are too long
@ -955,10 +955,11 @@ function(
|
||||
/**
|
||||
* String describing this page used for aria-labels.
|
||||
*
|
||||
* @param {string} namespace The route namespace.
|
||||
* @param {Object} header Contacts header container element.
|
||||
* @return {Object} jQuery promise
|
||||
*/
|
||||
var description = function(header) {
|
||||
var description = function(namespace, header) {
|
||||
var searchInput = getSearchInput(header);
|
||||
var searchText = searchInput.val().trim();
|
||||
return Str.get_string('messagedrawerviewsearch', 'core_message', searchText);
|
||||
|
Loading…
x
Reference in New Issue
Block a user