mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-11 17:58:41 +00:00
Fix condition check for response run
This commit is contained in:
parent
8e27d4d9b3
commit
4da03c0177
|
|
@ -67,7 +67,7 @@
|
|||
*/
|
||||
jsOMS.Message.Response.ResponseManager.prototype.run = function (key, data, request)
|
||||
{
|
||||
if (typeof request !== 'undefined' && typeof this.messages[key][request] !== 'undefined') {
|
||||
if (typeof request !== 'undefined' && typeof this.messages[key] !== 'undefined' && typeof this.messages[key][request] !== 'undefined') {
|
||||
this.messages[key][request](data);
|
||||
} else if (typeof this.messages[key] !== 'undefined') {
|
||||
this.messages[key].any(data);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user