Hi everyone. Is there possible to make queue mover dropdownlist to show full list without vertical scrollbar ?
I attached photo.
Dropdown list without scroller
Moderator: crythias
Dropdown list without scroller
You do not have the required permissions to view the files attached to this post.
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Dropdown list without scroller
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: Dropdown list without scroller
Thanks for your answer
but where could I find file that contains that dropdown list code ?

-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Dropdown list without scroller
That is created dynamically with the method BuildSelection in Kernel/Output/HTML/Layout.pm
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: Dropdown list without scroller
I found that method, but i don't know what to do next. Could you help to write needed code ?
As I said I need that drop down list show full list or for example to be 30 elements size? How to do this ?
As I said I need that drop down list show full list or for example to be 30 elements size? How to do this ?
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Dropdown list without scroller
var el = document.getElementById("selectId");
el.size = el.length;
el.size = el.length;
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: Dropdown list without scroller
In what place I have to add this line ? I mean in which file and in which place in that file ?
Thanks for you help!
Thanks for you help!
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Dropdown list without scroller
It's javascript, so you should put it in appropriate <script> markup (look up a tutorial) and on the DTL that contains the screen code that you see. View Source/Inspect Element helps, grep helps, etc.
This is not something that will survive updates and probably should be handled in a better way. Note that forcing a lengthy list is bad user experience and making it scroll off a screen, especially a low horizontal resolution laptop screen, doesn't help matters. Your queues should reflect groups of agents that can handle specific tasks. You should keep your queues short and your services long.
This is not something that will survive updates and probably should be handled in a better way. Note that forcing a lengthy list is bad user experience and making it scroll off a screen, especially a low horizontal resolution laptop screen, doesn't help matters. Your queues should reflect groups of agents that can handle specific tasks. You should keep your queues short and your services long.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask