Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 8359 | Rev 8517 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 8359 Rev 8360
Línea 1047... Línea 1047...
1047
				
1047
				
1048
				$(imagen2).ready(function(e){
1048
				$(imagen2).ready(function(e){
1049
					console.log(imagen2.width)
1049
					console.log(imagen2.width)
1050
					console.log(imagen2.height)
1050
					console.log(imagen2.height)
1051
					if(imagen2.width<100||imagen2.height<100){
1051
					if(imagen2.width<100||imagen2.height<100){
1052
						$.fn.showError('La imagen debe tener al menos un tamano mayor a 100x100');
1052
						$.fn.showError('LABEL_MINIMUM_IMAGE_SIZE');
1053
					}else{
1053
					}else{
1054
						$(".volver").css("display","block")
1054
						$(".volver").css("display","block")
1055
						$(".a1").addClass("paso");
1055
						$(".a1").addClass("paso");
1056
						$(".titulo_pasos").html("LABEL_STEP_2");
1056
						$(".titulo_pasos").html("LABEL_STEP_2");
1057
						editorNoticia(imagen2.src)
1057
						editorNoticia(imagen2.src)
1058
					}			
1058
					}			
1059
				})
1059
				})
1060
			}
1060
			}
1061
		}else{
1061
		}else{
1062
			$.fn.showError('imagen debe ser un JPG o PNG');
1062
			$.fn.showError('LABEL_SUPPORTED_FORMATS');
1063
		}
1063
		}
1064
	})	
1064
	})	
1065
	$(document).on("dragover", "body", function(e){
1065
	$(document).on("dragover", "body", function(e){
1066
		e.preventDefault();
1066
		e.preventDefault();