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:
+1
-1
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);
|
||||
|
||||
Reference in New Issue
Block a user