From 3c0b2cffe39bf92cd8e4ad916497694a773af1fa Mon Sep 17 00:00:00 2001 From: Alexander Lutay Date: Wed, 27 Jan 2021 21:36:41 +0100 Subject: [PATCH] TT#109166 Open pop-up windows expanded for ngcp-admin-ui It is handy to have the window maximized on the new admin UI. Change-Id: I3fb90558c749220c89653dda07ca1b4b0251a788 --- share/templates/helpers/modal.tt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/share/templates/helpers/modal.tt b/share/templates/helpers/modal.tt index 27d9518b3f..e2dd458ad5 100644 --- a/share/templates/helpers/modal.tt +++ b/share/templates/helpers/modal.tt @@ -73,6 +73,9 @@ }; $(modalFormScript); +[% IF framed -%] + setTimeout(function() { $('#mod_max:visible').click(); }, 0); +[% END -%] [% END -%]