mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-02-10 22:58:40 +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)
|
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);
|
this.messages[key][request](data);
|
||||||
} else if (typeof this.messages[key] !== 'undefined') {
|
} else if (typeof this.messages[key] !== 'undefined') {
|
||||||
this.messages[key].any(data);
|
this.messages[key].any(data);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user