Explorar el Código

handle ajax error

jqh hace 5 años
padre
commit
65c602119d
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  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);
             },
         });