rabin 2 лет назад
Родитель
Сommit
ef28105c58
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      assets/lib/manage/main.js

+ 4 - 1
assets/lib/manage/main.js

@@ -2221,7 +2221,10 @@ function fastEdit(e, url, title, col, index, type)
 			showAlert(html, func, title, false, type);
 		}
 		$('.layui-layer-content').css('overflow-x', 'hidden');
-		$('#update_button').hide();
+		if ($('#update_button').length) {
+			$('#update_button').hide();
+		}
+		
 		layui.use(['formSelects', 'form'], function(){
 			var form = layui.form; 
 			form.render();