mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +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
|
|
@ -187,7 +187,18 @@ class communicationView extends communication
|
|||
*/
|
||||
function dispCommunicationSendMessage()
|
||||
{
|
||||
if(!Context::get('m'))
|
||||
// If window type is self, use member module layout.
|
||||
// Otherwise, assume it's a popup window on PC for backward compatibility.
|
||||
if(Context::get('window_type') === 'self')
|
||||
{
|
||||
$oMemberView = MemberView::getInstance();
|
||||
if (!$oMemberView->checkMidAndRedirect())
|
||||
{
|
||||
$this->setRedirectUrl($oMemberView->getRedirectUrl());
|
||||
return;
|
||||
}
|
||||
}
|
||||
elseif(!Context::get('m'))
|
||||
{
|
||||
$this->setLayoutPath('./common/tpl/');
|
||||
$this->setLayoutFile("popup_layout");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue