lvhao пре 6 месеци
родитељ
комит
1809ea815a
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      template/erp/fullordertt_repeat.html

+ 2 - 1
template/erp/fullordertt_repeat.html

@@ -89,8 +89,9 @@ function merge() {
         type: "POST",
         dataType: "json",
         success: function(c) {
+            layx.destroy('loadId');
             if (c && c.success) {
-				layx.destroy('loadId');
+				
 				if(c.d)
 				{
 					 for (i = 0; i < c.d.length; i++)