mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Support replying to message in the same window #2154
This commit is contained in:
parent
6d8063b57e
commit
e635970c6a
7 changed files with 27 additions and 8 deletions
|
|
@ -131,7 +131,7 @@ class communicationController extends communication
|
|||
|
||||
if(!in_array(Context::getRequestMethod(), array('XMLRPC', 'JSON')))
|
||||
{
|
||||
if(Context::get('is_popup') != 'Y')
|
||||
if(Context::get('is_popup') != 'Y' && Context::get('window_type') != 'self')
|
||||
{
|
||||
global $lang;
|
||||
htmlHeader();
|
||||
|
|
@ -144,7 +144,7 @@ class communicationController extends communication
|
|||
else
|
||||
{
|
||||
$this->setMessage('success_sended');
|
||||
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('','act', 'dispCommunicationMessages', 'message_type', 'S', 'receiver_srl', $receiver_srl, 'message_srl', '');
|
||||
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('','act', 'dispCommunicationMessages', 'message_type', 'S');
|
||||
$this->setRedirectUrl($returnUrl);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue