mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Select + search: don't try to open search when readonly
This commit is contained in:
parent
5d915ba5eb
commit
bb48e4ecee
@ -471,6 +471,10 @@ export const Et2WithSearchMixin = <T extends Constructor<LitElement>>(superclass
|
|||||||
|
|
||||||
handleMenuShow()
|
handleMenuShow()
|
||||||
{
|
{
|
||||||
|
if(this.readonly)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
super.handleMenuShow();
|
super.handleMenuShow();
|
||||||
|
|
||||||
if(this.searchEnabled || this.allowFreeEntries)
|
if(this.searchEnabled || this.allowFreeEntries)
|
||||||
@ -490,6 +494,10 @@ export const Et2WithSearchMixin = <T extends Constructor<LitElement>>(superclass
|
|||||||
|
|
||||||
handleMenuHide()
|
handleMenuHide()
|
||||||
{
|
{
|
||||||
|
if(this.readonly)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
super.handleMenuHide();
|
super.handleMenuHide();
|
||||||
if(this.searchEnabled || this.allowFreeEntries)
|
if(this.searchEnabled || this.allowFreeEntries)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user