瀏覽代碼

파일크기 체크 gagajf.ajaxFileUpload 함수 사용으로 소스내 gagajf.checkFileSize 제거

bin2107 4 年之前
父節點
當前提交
bdff03a441

+ 1 - 4
src/main/webapp/WEB-INF/views/display/LookbookBannerPopupForm.html

@@ -188,10 +188,7 @@
 
 	var fnBannerImgFileUpload = function (obj, idx){
 		var file = obj.files[0];
-		// 파일 용량 체크 10MB
-		if(!gagajf.checkFileSize(file)){
-			return;
-		}
+
 		file.name = 'test';
 		if (typeof(file) == 'undefined'){
 			return;

+ 2 - 17
src/main/webapp/WEB-INF/views/display/MainContentsPopupForm.html

@@ -973,10 +973,7 @@
 
 	var fnVideoFileUpload = function (obj, idx){
 		var file = obj.files[0];
-		// 파일 용량 체크 10MB
-		if(!gagajf.checkFileSize(file)){
-			return;
-		}
+
 		gagaKollus.upload('Display', file, $(obj).find('input[name=kufKey]'));
 	}
 
@@ -1526,10 +1523,6 @@
 	var fnPopFileUpload = function (obj, ind){
 		var file = obj.files[0];
 
-		// 파일 용량 체크 10MB
-		if(!gagajf.checkFileSize(file)){
-			return;
-		}
 		file.name = 'test';
 		if (typeof(file) == 'undefined'){
 			return;
@@ -1553,11 +1546,6 @@
 	var fnGnbFileUpload = function (obj, ind, num){
 		var file = obj.files[0];
 
-		// 파일 용량 체크 10MB
-		if(!gagajf.checkFileSize(file)){
-			return;
-		}
-
 		file.name = 'test';
 		if (typeof(file) == 'undefined'){
 			return;
@@ -1863,10 +1851,7 @@
 	// 동영상파일 선택 시
 	$('#popSortable input[name=file]').on('change', function() {
 		var file = this.files[0];
-		// 파일 용량 체크 10MB
-		if(!gagajf.checkFileSize(file)){
-			return;
-		}
+
 		gagaKollus.upload('Display', file, $('input[name=kufKey]'));
 	});
 

+ 2 - 8
src/main/webapp/WEB-INF/views/display/MainMultiContentsPopupForm.html

@@ -454,10 +454,7 @@ console.log('brandGroupNo:'+brandGroupNo);
 	 */
 	var fnBrandImgFileUpload = function (obj, ind){
 		var file = obj.files[0];
-		// 파일 용량 체크 10MB
-		if(!gagajf.checkFileSize(file)){
-			return;
-		}
+
 		file.name = 'test';
 		if (typeof(file) == 'undefined'){
 			return;
@@ -588,10 +585,7 @@ console.log('brandGroupNo:'+brandGroupNo);
 	// 기획전/배너 파일첨부
 	var fnPlanFileUpload = function (obj, ind){
 		var file = obj.files[0];
-		// 파일 용량 체크 10MB
-		if(!gagajf.checkFileSize(file)){
-			return;
-		}
+
 		file.name = 'test';
 		if (typeof(file) == 'undefined'){
 			return;