mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
Fix push update of online lists
This commit is contained in:
parent
9ca329571f
commit
cced2ee43b
@ -236,7 +236,7 @@
|
|||||||
<script data-relocate="true">
|
<script data-relocate="true">
|
||||||
//<![CDATA[
|
//<![CDATA[
|
||||||
(function($, window, undefined) {
|
(function($, window, undefined) {
|
||||||
proxy = new WCF.Action.Proxy({
|
var proxy = new WCF.Action.Proxy({
|
||||||
data: {
|
data: {
|
||||||
actionName: 'getBoxRoomList',
|
actionName: 'getBoxRoomList',
|
||||||
className: 'chat\\data\\room\\RoomAction',
|
className: 'chat\\data\\room\\RoomAction',
|
||||||
@ -251,8 +251,10 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
be.bastelstu.wcf.push.onMessage('be.bastelstu.chat.join', $.proxy(proxy.sendRequest, proxy));
|
$(function () {
|
||||||
be.bastelstu.wcf.push.onMessage('be.bastelstu.chat.leave', $.proxy(proxy.sendRequest, proxy));
|
be.bastelstu.wcf.push.onMessage('be.bastelstu.chat.join', proxy.sendRequest.bind(proxy));
|
||||||
|
be.bastelstu.wcf.push.onMessage('be.bastelstu.chat.leave', proxy.sendRequest.bind(proxy));
|
||||||
|
});
|
||||||
})(jQuery, this);
|
})(jQuery, this);
|
||||||
//]]>
|
//]]>
|
||||||
</script>
|
</script>
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
<script data-relocate="true">
|
<script data-relocate="true">
|
||||||
//<![CDATA[
|
//<![CDATA[
|
||||||
(function($, window, undefined) {
|
(function($, window, undefined) {
|
||||||
proxy = new WCF.Action.Proxy({
|
var proxy = new WCF.Action.Proxy({
|
||||||
data: {
|
data: {
|
||||||
actionName: 'getBoxRoomList',
|
actionName: 'getBoxRoomList',
|
||||||
className: 'chat\\data\\room\\RoomAction',
|
className: 'chat\\data\\room\\RoomAction',
|
||||||
@ -31,8 +31,10 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
be.bastelstu.wcf.push.onMessage('be.bastelstu.chat.join', $.proxy(proxy.sendRequest, proxy));
|
$(function () {
|
||||||
be.bastelstu.wcf.push.onMessage('be.bastelstu.chat.leave', $.proxy(proxy.sendRequest, proxy));
|
be.bastelstu.wcf.push.onMessage('be.bastelstu.chat.join', proxy.sendRequest.bind(proxy));
|
||||||
|
be.bastelstu.wcf.push.onMessage('be.bastelstu.chat.leave', proxy.sendRequest.bind(proxy));
|
||||||
|
});
|
||||||
})(jQuery, this);
|
})(jQuery, this);
|
||||||
//]]>
|
//]]>
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user