Skip to content

Commit 446f094

Browse files
committed
Fix the ajax onLoad callback error
1 parent b322705 commit 446f094

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jquery.msgbox.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@
657657
that.$loaded.html(_('xhrError', that.options.lang));
658658
that.loaded = true;
659659
if (callback) callback.apply(that);
660-
if (that.options.onLoad) this.options.onLoad.apply(that);
660+
if (that.options.onLoad) that.options.onLoad.apply(that);
661661
});
662662
break;
663663

0 commit comments

Comments
 (0)