Browse Source

handle ajax error

jqh 5 năm trước cách đây
mục cha
commit
65c602119d
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      src/Grid/Displayers/Checkbox.php
  2. 1 1
      src/Grid/Displayers/Radio.php

+ 1 - 1
src/Grid/Displayers/Checkbox.php

@@ -90,7 +90,7 @@ EOT;
             error: function (a, b, c) {
                 btn.buttonLoading(false);
                 f = 0;
-                Dcat.ajaxError(a, b, c);
+                Dcat.handleAjaxError(a, b, c);
             },
         });
     

+ 1 - 1
src/Grid/Displayers/Radio.php

@@ -80,7 +80,7 @@ EOT;
             error: function (a, b, c) {
                 btn.buttonLoading(false);
                 f = 0;
-                Dcat.ajaxError(a, b, c);
+                Dcat.handleAjaxError(a, b, c);
             },
         });