rabin 3 gadi atpakaļ
vecāks
revīzija
b81f715f9f
1 mainītis faili ar 6 papildinājumiem un 3 dzēšanām
  1. 6 3
      assets/lib/manage/main.js

+ 6 - 3
assets/lib/manage/main.js

@@ -979,7 +979,7 @@ function loading(e, data)
 		data.table = $('#table').val();
 		data.project = $('#project').val();
 
-		$.getJSON(data.url, data, function(s)
+		$.getJSON(data.url + '&json=1', data, function(s)
 		{
 			t = s.data;
 			if(t.indexOf('onblur') != -1)
@@ -1006,7 +1006,11 @@ function loading(e, data)
 						});
 					}
 
-					parent.after(t);
+					if (!parent.parent().find('.bind_show').length) {
+						parent.after('<div class="bind_show">' + t + '</div>');
+					} else if (parent.parent().find('.bind_show').html() != t) {
+						parent.parent().find('.bind_show').html(t);
+					}
 
 					checkbox();
 				}
@@ -2948,4 +2952,3 @@ function showVideo(video)
 	var html = '<meta name="referrer" content="no-referrer"><video width="400" height="300" controls autoplay="autoplay"><source src="'+video+'" type="video/mp4">您的浏览器不支持Video标签。</video>';
 	showAlert(html);
 }
-