mirror of
https://github.com/wekan/wekan.git
synced 2025-12-22 10:20:14 +01:00
Global search
* Make some heading translatable * set focus back to search phrase input after clicking a predicate * Some spacing issues
This commit is contained in:
parent
61c691a267
commit
7ced6318a5
4 changed files with 25 additions and 6 deletions
|
|
@ -401,6 +401,7 @@ BlazeComponent.extendComponent({
|
|||
evt.currentTarget.textContent
|
||||
}"`,
|
||||
);
|
||||
document.getElementById('global-search-input').focus();
|
||||
},
|
||||
'click .js-board-title'(evt) {
|
||||
evt.preventDefault();
|
||||
|
|
@ -409,6 +410,7 @@ BlazeComponent.extendComponent({
|
|||
evt.currentTarget.textContent
|
||||
}"`,
|
||||
);
|
||||
document.getElementById('global-search-input').focus();
|
||||
},
|
||||
'click .js-list-title'(evt) {
|
||||
evt.preventDefault();
|
||||
|
|
@ -417,6 +419,7 @@ BlazeComponent.extendComponent({
|
|||
evt.currentTarget.textContent
|
||||
}"`,
|
||||
);
|
||||
document.getElementById('global-search-input').focus();
|
||||
},
|
||||
'click .js-label-name'(evt) {
|
||||
evt.preventDefault();
|
||||
|
|
@ -425,6 +428,7 @@ BlazeComponent.extendComponent({
|
|||
evt.currentTarget.textContent
|
||||
}"`,
|
||||
);
|
||||
document.getElementById('global-search-input').focus();
|
||||
},
|
||||
},
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue