mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2025-01-10 00:30:09 +00:00
Fix bugs
This commit is contained in:
parent
8f2f2a4ed5
commit
7bfead22c9
@ -218,9 +218,9 @@ public function save() {
|
|||||||
));
|
));
|
||||||
$this->objectAction->executeAction();
|
$this->objectAction->executeAction();
|
||||||
$returnValues = $this->objectAction->getReturnValues();
|
$returnValues = $this->objectAction->getReturnValues();
|
||||||
|
|
||||||
// add activity points
|
// add activity points
|
||||||
\wcf\system\user\activity\point\UserActivityPointHandler::getInstance()->fireEvent('be.bastelstu.chat.activityPointEvent.message', $returnValues->messageID, WCF::getUser()->userID);
|
\wcf\system\user\activity\point\UserActivityPointHandler::getInstance()->fireEvent('be.bastelstu.chat.activityPointEvent.message', $returnValues['returnValues']->messageID, WCF::getUser()->userID);
|
||||||
|
|
||||||
$this->saved();
|
$this->saved();
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<title>{$room} - {lang}chat.general.title{/lang} - {PAGE_TITLE|language}</title>
|
<title>{$room} - {lang}chat.general.title{/lang} - {PAGE_TITLE|language}</title>
|
||||||
|
|
||||||
{include file='headInclude' sandbox=false}
|
{include file='headInclude' sandbox=false}
|
||||||
{include file='javascriptInclude'}
|
{include file='javascriptInclude' application='chat'}
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
//<![CDATA[
|
//<![CDATA[
|
||||||
var chat;
|
var chat;
|
||||||
@ -92,7 +92,7 @@
|
|||||||
<div id="timsChatTopic" class="container{if $room->topic|language === ''} empty{/if}">{$room->topic|language}</div>
|
<div id="timsChatTopic" class="container{if $room->topic|language === ''} empty{/if}">{$room->topic|language}</div>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<div id="timsChatMessageContainer" class="timsChatMessageContainer container box shadow1">
|
<div id="timsChatMessageContainer" class="timsChatMessageContainer container box shadow1">
|
||||||
<noscript><p class="error">{lang}chat.general.noJs{/lang}</p></noscript>
|
<p class="error noJsOnly">{lang}chat.general.noJs{/lang}</p>
|
||||||
<ul>
|
<ul>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user