jqh пре 5 година
родитељ
комит
65c602119d
2 измењених фајлова са 2 додато и 2 уклоњено
  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);
             },
         });