We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13811b0 commit 2b70513Copy full SHA for 2b70513
assets/datagrid.js
@@ -14,25 +14,25 @@ if (typeof naja !== "undefined") {
14
if(init) {
15
naja.addEventListener('init', function (params) {
16
init(params.defaultOptions);
17
- }).bind(this);
+ });
18
}
19
20
if(success) {
21
naja.addEventListener('success', function (params) {
22
success(params.response, params.options);
23
24
25
26
if(before) {
27
naja.addEventListener('before', function (params) {
28
before(params.xhr, params.options);
29
30
31
32
if(complete) {
33
naja.addEventListener('complete', function (params) {
34
complete(params.xhr, params.options);
35
36
37
38
return this;
0 commit comments