
#####
Popup
#####


****
NAME
****


Kernel::Output::HTML::Layout::Popup - CSS/JavaScript


***********
DESCRIPTION
***********


All valid functions.


****************
PUBLIC INTERFACE
****************


AddPopupProfiles()
==================


Adds user or global popup profiles to JS object 'PopupProfiles'.


.. code-block:: perl

     my $Success = $LayoutObject->AddPopupProfiles();
 
     or
 
     $Self->{LayoutObject}->AddPopupProfiles();


Returns:


.. code-block:: perl

     my $Success = 1;



PopupClose()
============


Generate a small HTML page which closes the pop-up window and
executes an action in the main window.


.. code-block:: perl

     # load specific URL in main window
     $LayoutObject->PopupClose(
         URL => "Action=AgentTicketZoom;TicketID=$TicketID"
     );
 
     or
 
     # reload main window
     $Self->{LayoutObject}->PopupClose(
         Reload => 1,
     );





