dever 3 vuotta sitten
vanhempi
commit
34847467f7
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      assets/lib/manage/main.js

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

@@ -2084,6 +2084,7 @@ function fastEdit(e, url, title, col, index, type)
 				form.addClass('layui-card-body');
 			} else {
 				var form = $(t).find('form').eq(0);
+				$('#update_button').hide();
 			}
 			form.addClass('fast');
 			form.find('#function').eq(0).val('showYes');
@@ -2115,7 +2116,6 @@ function fastEdit(e, url, title, col, index, type)
 		}
 		
 		$('.layui-layer-content').css('overflow-x', 'hidden');
-		$('#update_button').hide();
 		layui.use(['formSelects'], function(){
 			$("select").each(function()
 			{