mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
레이아웃에서 알림센터 위젯 사용시 알림 발생할 경우 겹치는 문제 고침
This commit is contained in:
parent
c2d831d93b
commit
0fec44222d
1 changed files with 7 additions and 1 deletions
|
|
@ -1061,6 +1061,12 @@ class ncenterliteController extends ncenterlite
|
|||
return;
|
||||
}
|
||||
|
||||
// 레이아웃에서 알림센터 사용중이라면 중지
|
||||
if(Context::get('layout_info')->use_ncenter_widget == 'Y')
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Context::set('ncenterlite_config', $config);
|
||||
|
||||
if($config->highlight_effect === 'Y')
|
||||
|
|
@ -1078,7 +1084,7 @@ class ncenterliteController extends ncenterlite
|
|||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$_latest_notify_id = array_slice($_output->data, 0, 1);
|
||||
$_latest_notify_id = count($_latest_notify_id) > 0 ? $_latest_notify_id[0]->notify : "";
|
||||
Context::set('ncenterlite_latest_notify_id', $_latest_notify_id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue