
Default pop up window size
Moderator: crythias
Default pop up window size
Anyone know where I could change the default window size (height / width) that pops up when you are zoomed in on ticket and close it? When you select close a pop up window...well..pops up.
I'd like to make it taller so Agents don't have to scroll down just a bit each time to submit.

Test:: OTRS 5.0.10 w/MariaDB 5.5.47 backend on RHEL7
Prod:: OTRS 5.0.10 w/MariaDB 5.5.47 backend on RHEL7
Prod:: OTRS 5.0.10 w/MariaDB 5.5.47 backend on RHEL7
Re: Default pop up window size
The default window size is defined in $OTRS_HOME/var/httpd/htdocs/js/Core.UI.Popup.js. Just add a new Popup Profile in there with your desired settings and then restart OTRS.
Now, wherever you want to implement this (and it's most likely going to be in a DTL that you have customised in a theme), make sure the 3rd parameter passed into Core.UI.Popup.OpenPopup() is the name of your new profile.
EDIT: A caveat to this is that when you update OTRS, Core.UI.Popup.js will probably be overwritten and you will lose your custom popup profile.
Now, wherever you want to implement this (and it's most likely going to be in a DTL that you have customised in a theme), make sure the 3rd parameter passed into Core.UI.Popup.OpenPopup() is the name of your new profile.
EDIT: A caveat to this is that when you update OTRS, Core.UI.Popup.js will probably be overwritten and you will lose your custom popup profile.
OTRS 3.2.11 on Centos 6.4 with MySQL 5.0. Agents and internal customers authenticate via Active Directory.
Re: Default pop up window size
what should i add to get it full screen ?
-
- Znuny newbie
- Posts: 51
- Joined: 10 Aug 2015, 20:02
- Znuny Version: 5.0.0
Re: Default pop up window size
In
Just change the default profile if you don't care remake it every time you update your OTRS version.
Code: Select all
PopupProfiles = {
'Default': {
WindowURLParams: "dependent=yes,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no",
Left: 100,
Top: 100,
Width: 1040,
Height: screen.height
}
};