From 2a8aa8e7ae18b6b92ccb36d716b1db74b6bc1e5f Mon Sep 17 00:00:00 2001 From: ralf Date: Mon, 15 Aug 2022 17:38:43 +0200 Subject: [PATCH] some fixes for vfsSearchUI --- api/js/etemplate/Et2Textbox/Et2Searchbox.ts | 1 + api/js/etemplate/et2_widget_vfs.ts | 2 +- api/templates/default/etemplate2.css | 1 - api/templates/default/vfsSelectUI.xet | 24 +++++++++++---------- 4 files changed, 15 insertions(+), 13 deletions(-) diff --git a/api/js/etemplate/Et2Textbox/Et2Searchbox.ts b/api/js/etemplate/Et2Textbox/Et2Searchbox.ts index 393da9e87f..0312f06c54 100644 --- a/api/js/etemplate/Et2Textbox/Et2Searchbox.ts +++ b/api/js/etemplate/Et2Textbox/Et2Searchbox.ts @@ -42,6 +42,7 @@ export class Et2Searchbox extends Et2Textbox this.clearable = true; this.type = 'search'; + this.placeholder = 'search'; this.enterkeyhint = 'search'; } diff --git a/api/js/etemplate/et2_widget_vfs.ts b/api/js/etemplate/et2_widget_vfs.ts index d3fecd5010..c35c12b7a7 100644 --- a/api/js/etemplate/et2_widget_vfs.ts +++ b/api/js/etemplate/et2_widget_vfs.ts @@ -1251,7 +1251,7 @@ export class et2_vfsSelect extends et2_inputWidget minWidth: 500, minHeight: 400, value: data, - template: egw.webserverUrl + '/api/templates/default/vfsSelectUI.xet?1', + template: egw.webserverUrl + '/api/templates/default/vfsSelectUI.xet', resizable: false, // Don't destroy on close, it would take out the opening etemplate destroy_on_close: false diff --git a/api/templates/default/etemplate2.css b/api/templates/default/etemplate2.css index 7fe517a8a7..17e1e4eb77 100644 --- a/api/templates/default/etemplate2.css +++ b/api/templates/default/etemplate2.css @@ -1344,7 +1344,6 @@ et2-link-list et2-link:hover { div.et2_vfsPath { position: relative; - overflow: hidden; } div.et2_vfsPath ul { diff --git a/api/templates/default/vfsSelectUI.xet b/api/templates/default/vfsSelectUI.xet index 562e759937..486db9d446 100644 --- a/api/templates/default/vfsSelectUI.xet +++ b/api/templates/default/vfsSelectUI.xet @@ -5,23 +5,25 @@