mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-02-14 00:18:40 +00:00
Fixing scope issue
This commit is contained in:
parent
86d715b4e6
commit
acf6632fa5
|
|
@ -363,7 +363,7 @@
|
||||||
{
|
{
|
||||||
switch (self.xhr.readyState) {
|
switch (self.xhr.readyState) {
|
||||||
case 4:
|
case 4:
|
||||||
if (typeof this.result[self.xhr.status] === 'undefined') {
|
if (typeof self.result[self.xhr.status] === 'undefined') {
|
||||||
self.result[0](self.xhr);
|
self.result[0](self.xhr);
|
||||||
} else {
|
} else {
|
||||||
self.result[self.xhr.status](self.xhr);
|
self.result[self.xhr.status](self.xhr);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user